Newer Version Available
Quotation Marks
Use these general guidelines around punctuation and quotation marks.
- Place semicolons and colons outside quotation marks and parentheses
- Place question marks or exclamation marks inside quotation marks, parentheses, or brackets only when they're part of the quoted or parenthetical matter.
- Include a comma after the introduction to a quotation. For example: Miriam said calmly, “I have no idea what you mean.”
- If you quote a passage that includes more than one paragraph from the same source, use quotation marks at the beginning of each paragraph. Use closing quotation marks only at the end of the final paragraph.
- Don’t use quotation marks for material set off from the text as a block quotation.
Single Quotes
Use single quotation marks for
- Quotations within quotations
- A single letter in the text. For example: Add an 's' to form the plural of most words.
Double Quotes
Use double quotation marks for
- Enclosing a single word in the text
- User and object permissions in UI text and documentation
- Quoted words, phrases, and sentences that run into the text
Straight Quotes
- Use straight quotes in code samples. For example: mail.setReplyTo('support@acme.com') Use curved quotes for all other quotation marks.