HTML <q> Tag
Description
The <q> tag defines a short inline quotation. It differs from <blockquote>, which is a block-level element used for longer quotations.
The following table summarizes the usages context and the version history of this tag.
| Placement: | Block |
|---|---|
| Content: | Block, inline, and text |
| Start/End Tag: | Start tag: required, End tag: required |
| Version: | HTML 4, 4.01, 5 |
Note:
The <q> tag is intended for short quotations (inline-level content) that don't require paragraph breaks, for long quotations (block-level content) use the <blockquote> tag instead.
Syntax
The basic syntax of the <q> tag is given with:
<q>Some quotation text</q>