From http://www.w3schools.com (Copyright Refsnes Data)

HTML <q> tag


Example

A short quotation is marked up as follows:

<q>
Here is a short quotation here is a short quotation
</q>

Try it yourself!


Definition and Usage

The <q> tag defines a short quotation.

The browser will insert quotation marks around the quotation.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <q> tag is supported in all major browsers, except Internet Explorer.

The <q> tag will be supported in IE 8.


Differences Between HTML and XHTML

NONE


Tips and Notes

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


Optional Attributes

DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

Attribute Value Description DTD
cite URL Specifies the source of a quotation STF

Standard Attributes

id, class, title, style, dir, lang, xml:lang

For a full description, go to Standard Attributes.

Event Attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

For a full description, go to Event Attributes.


From http://www.w3schools.com (Copyright Refsnes Data)