The rules for entering quote characters are pretty straightforward:
Double quotes: <quote>example</quote>
Double quotes in program listings: "
(entered verbatim)
Single quotes: '
(entered verbatim)
Backticks: `
(entered verbatim)