Name

<SUB> — NN 2 IE 3 HTML 3.2

Synopsis

<SUB>...</SUB>

End Tag: Required

The SUB element is a typographical element that instructs the browser to render its content as a subscript in a font size consistent with the surrounding content. Browsers tend to render this content in a smaller size than surrounding content.

Example

<P>"Heavy water" (H<SUB>3</SUB>O) has one more hydrogen atom 
than regular water.</P>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

CLASS

ID

LANGUAGE

STYLE

TITLE

DIR

LANG

   

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.