HTML5 <q> Tag


Mark up a short quotation:

<p>WWF's goal is to:
<q cite="">
build a future where people live in harmony with nature
</q> we hope they succeed.</p>

Try it yourself »

Definition and Usage

The <q> tag defines the start of a short quotation.

Browser often insert quotation marks around the quotation.

Differences Between HTML 4.01 and HTML5


Tips and Notes

Tip: Use the cite attribute to define a reference to where the quotation was taken from.

Tip: Use the blockquote element to mark up long quotations.


Attribute Value Description
cite url Defines a citation for the quotation

Standard Attributes

The <q> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <q> tag also supports the Event Attributes in HTML5.