Name

<Q> — NN n/a IE 4 HTML 4

Synopsis

<Q>...</Q>

End Tag: Required

The Q element is intended to set off an inline quote inside a document. The HTML 4.0 specification indicates that browsers should automatically surround the content of a Q element with language-sensitive quotation marks, and that authors should not include quotes. Internet Explorer 4 does not render such quote marks. If you need quotes around quoted text, you have no choice at this point but to include them yourself and not use the Q element (because a future browser may add those quotes to the content). For a block-level quotation, see the BLOCKQUOTE element.

Example

<P>The preamble to the U.S. Constitution begins,
<Q>We the People of the United States</Q></P>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

CITE

DIR

LANG

STYLE

TITLE

CLASS

ID

LANGUAGE

  

Event Handler Attributes

Handler

NN

IE

HTML

onClick

n/a

4

4

onDblClick

n/a

4

4

onDragStart

n/a

4

n/a

onHelp

n/a

4

n/a

onKeyDown

n/a

4

4

onKeyPress

n/a

4

4

onKeyUp

n/a

4

4

onMouseDown

n/a

4

4

onMouseMove

n/a

4

4

onMouseOut

n/a

4

4

onMouseOver

n/a

4

4

onMouseUp

n/a

4

4

onSelectStart

n/a

4

n/a

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.