Mark up a short quotation:
The <q> tag defines a short quotation.
Browsers normally insert quotation marks around the quotation.
Element | |||||
---|---|---|---|---|---|
<q> | Yes | Yes | Yes | Yes | Yes |
Tip: Use <blockquote> to mark up a section that is quoted from another source.
NONE.
Attribute | Value | Description |
---|---|---|
cite | URL | Specifies the source URL of the quote |
The <q> tag also supports the Global Attributes in HTML.
The <q> tag also supports the Event Attributes in HTML.
HTML DOM reference: Quote Object
Most browsers will display the <q> element with the following default values: