- Nov 14, 2003
- 9,811
- 110
- 106
My understanding is that the proper usage of quotes is that if the quoted text is at the end of a sentence the period comes before the quote mark.
For example:
Bob said "I like grammar." <- Correct
Bob said "I like grammar". <- Incorrect
But, this leads to a problem. Quotes aren't only used to denote speech, they are also used to denote text that should be entered exactly as quoted.
For example, if I need to give a user their password, I'll do something like this:
Your password is "password"
But, to be grammatically correct that sentence should have a period at the end.
Your password is "password." <- grammatically correct, but gives the person the wrong password if they actually enter what is in quotes
Your password is "password". <- feels wrong, but the quote correctly indicates the actual password
So, is it acceptable grammar to put the period after the quote in cases like this? Is there a better way to give the same type of information?
For example:
Bob said "I like grammar." <- Correct
Bob said "I like grammar". <- Incorrect
But, this leads to a problem. Quotes aren't only used to denote speech, they are also used to denote text that should be entered exactly as quoted.
For example, if I need to give a user their password, I'll do something like this:
Your password is "password"
But, to be grammatically correct that sentence should have a period at the end.
Your password is "password." <- grammatically correct, but gives the person the wrong password if they actually enter what is in quotes
Your password is "password". <- feels wrong, but the quote correctly indicates the actual password
So, is it acceptable grammar to put the period after the quote in cases like this? Is there a better way to give the same type of information?