HTML <q>Tag


Examples

Mark a short quotation:

<p>WWF's goal is to:
<q>Build a future where people live in harmony with nature.</q>
We hope they succeed.</p>

Try it yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the <q> tag.


Tag Definition and Usage Instructions

The <q> tag defines a short quotation.

Browsers often insert quotation marks around such quotations.


Tips and Notes

Tip:Please use<blockquote>to mark block quotations taken from another source.


Differences Between HTML 4.01 and HTML5

None.


Attributes

Attribute Value Description
cite URL Specifies the source URL of the quotation.


Global Attributes

The <q> tag supportsHTML global attributes。


Event Attributes

The <q> tag supportsHTML event attributes。

Other Extensions