Newer Version Available

This content describes an older version of this product. View Latest

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 the first paragraph and at the end of the last paragraph.

No Quotation Marks

Don’t use quotation marks for
  • Material set off from the text as a block quotation in quotation marks
  • Fields, picklist, code, or drop-down list values.

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 an 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.