4.8.33 quote

Double quotation marks (example) are entered like this:


Exception: In program listings, they're written verbatim:


The difference between example and "example" might not be visible in every output format (particularly in HTML). For printed material, however, it's important to use the <quote> element wherever appropriate.

For writing curly-quoted single literal characters, you should use the &lsquo; and &rsquo;XML entities. Example:

Terminate an SQL statement with a &lsquo;<literal>;</literal>&rsquo; character.

That example will look like this:

Terminate an SQL statement with a ; character.

Curly single quotation marks is a pretty common convention with O'Reilly and Pearson.

Single quotation marks (') and backticks (`) are always entered verbatim.