<q>
A short inline quotation with browser-supplied, locale-correct quotation marks.
Baseline: Widely available · Inline text semantics
When to use it
For quotes inside a sentence; the marks adapt to the lang attribute (compare German „…“ with English “…”).
When not to
Don't type the quote characters yourself around a q, and use blockquote for block-level quotes.
Key attributes
cite- URL of the source
Example
The spec calls a section a thematic grouping of content
.
<p>The spec calls a section <q cite='https://html.spec.whatwg.org/'>a thematic grouping of content</q>.</p>