Skip to content
AITroveRead. Build. Understand.
Make this comfortable

HTML quotations: keep quoted text and attribution distinct

Last updated: 5 Oct 20266 min read
tutorial
IntermediateBy AITrove Editorial

A blockquote holds a longer quotation, while q marks a short quotation within running text.

Use it for a real task

The finance team keeps an approval policy excerpt beside a receipt. The quotation is the policy language; the attribution names the owning team without pretending that a cite attribute is displayed as a visible credit. The example uses a local policy route only if that route exists in the application. Short quoted terms in a paragraph use q, allowing the user agent to handle quotation marks.

html
<figure>
  <blockquote>
    <p>Export records after the second reviewer confirms the batch.</p>
  </blockquote>
  <figcaption>Finance review policy, revision 47</figcaption>
</figure>
<p>The policy calls this state <q>confirmed for export</q>.</p>

What the markup guarantees

The figure caption provides a visible attribution. An external legal or policy claim still needs a verifiable owner and revision in the real application; HTML semantics do not authenticate quoted content.

Cost and limits

A quotation needs only a few elements. The costly error is editorial: stale policy text can mislead reviewers even when the markup is technically valid.

Common Mistakes

  • Do not use blockquote merely to indent prose.
  • Do not assume cite supplies visible attribution.
  • Keep policy wording and revision synchronized with the actual owner.

Connected lessons

Related CSS decisions

html
semantics
Storage details