Name
q — HTML 4.01
Synopsis
<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. According to the specification, the user
agent should automatically insert quotation marks before and after a
quote element (however, Internet Explorer versions 7 and earlier do
not support this feature). When used with the lang
(language) attribute, the browser may
insert language-specific quotation marks.
Start/End Tags
Required/Required
Attributes
Core, Internationalization, Events, HTML5 Global Attributes
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 & XHTML Pocket Reference, 4th 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.