HTML Dog
Skip to navigation

HTML Tag: q

A short quotation.

Optional Attributes

Attribute Description Possible values
cite A link to the source of the quotation or information about its context. URL.
Global attributes

Example


<p>They disagreed. Bob said <q>sexy pyjamas</q> but Chris said <q>a kimono</q>.</p>

<!-- or, equally valid... -->

<p>They disagreed. Bob said "sexy pyjamas" but Chris said "a kimono".</p>