Sets apart a quotation in text. | HTML 4, 4.01, 5 |
HTML Syntax
<q
class = classname
id = value
style = css_style_rules
title = text
>
Browsers must ensure that the content of the Q element is rendered with delimiting quotation marks. Authors should not put quotation marks at the beginning and end of the content of a Q element.
Browsers should render quotation marks in a language-sensitive manner ( see the lang attribute ). Many languages adopt different quotation styles for outer and inner ( nested ) quotations, which should be respected by browsers.
NOTE: Both start and end tags are required.
The <q>
element supports the following attributes, in addition to global attributes common to all HTML elements.
cite | URL | Specifies the source URL of the quote |
BLOCKQUOTE