Name

q — <q> . . . </q>

Delimits a short quotation that can be included inline, such as “to be or not to be.” It differs from blockquote, which is a block-level element used for longer quotations. Some browsers automatically insert quotation marks. When used with the lang (language) attribute, the browser may insert language-specific quotation marks.

Attributes

Core, Internationalization, Events

cite="URL"

Designates the source document from which the quotation was taken.

Example

<p>In that famous speech beginning, <q> Four score and seven years ago,</q>
  . . .  </p>

Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.