22 lines
804 B
Plaintext
22 lines
804 B
Plaintext
The HTML <q> Element (or HTML Quote Element) indicates that the enclosed text is a short inline quotation. This element is intended for short quotations that don't require paragraph breaks; for long quotations use <blockquote> element.
|
|
|
|
Content categories:
|
|
Flow content, phrasing content, palpable content.
|
|
|
|
Permitted content:
|
|
Phrasing content.
|
|
|
|
Tag omission:
|
|
None, both the starting and ending tag are mandatory.
|
|
|
|
Permitted parent elements:
|
|
Any element that accepts phrasing content.
|
|
|
|
DOM interface:
|
|
HTMLQuoteElement
|
|
|
|
Notes:
|
|
|
|
Most modern standards-aware browsers, like Mozilla Firefox, Opera, and Safari, should add quotes around text enclosed within the <q> element.
|
|
|
|
Some browsers, like Internet Explorer, may not make any sort of style change for quotations, but it is possible to apply a style rule. |