This topic has not yet been rated - Rate this topic

q element | q object

[This documentation is preliminary and is subject to change.]

Sets apart a quotation in text.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5HTML 4.01 Specification, Section 9.2.2

Standards information

HTML information

Closing Tagrequired
CSS Displayinline

DOM Information

Inheritance Hierarchy

 Node
  Element
   HTMLElement
     q

Remarks

Windows Internet Explorer 8 and later. The value of the cite attribute depends on the current document compatibility mode. In addition, quotation marks are now added to the content of the element.

Examples

This example uses the Q element to set apart a quotation in text.


<p>He said, <q style="font-style: italic">Hi there!</q></p>

See also

blockQuote

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Suppress quotation marks
LANG=HI suppresses quotation marks altogether.