HTML:Element:q
From MDC
Quote element indicates that the enclosed text is a short inline quotation.
[edit] Attributes
- cite
- The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
[edit] Example
Everytime Kenny is killed, Stan will announce <q>Oh my God, you/they killed Kenny!</q>.
Above HTML will output:
[edit] Notes
This element is intended for short quotations that don't require paragraph breaks, for long quotations use <blockquote> element.
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.
[edit] See also
| HTML Elements |
| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
| (Quick Links: HTML Element Cross Reference, HTML Category) |