q

FilterElements

<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

Specifications

  • HTML 4.01
  • HTML5

cite=

Values: URL
Designates the source document from which the quotation was taken.
<p>In that famous speech beginning, <q>Four score and seven years ago,</q> ... </p>

Rendered Example

In that famous speech beginning, Four score and seven years ago, ...

Note that not all rendering devices insert quotation marks as shown here.