The HTML <q></q> element, or quote, 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 the <blockquote> element.

Most modern standards-aware browsers, like Mozilla Firefox, Opera, and Safari, should add quotation marks ("") 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.


Attribute Value Description
cite URL 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.

HTML example:

When your hard drive crashes, this is what most people will say: <q>WTF!!!! NOOOOOOOOOO!!!!!!!!!!!!</q>

See Also

External Links

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.