W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<SUB>...</SUB>

Description

This is a container for text that should be displayed as a subscript, and, if practical, using a smaller font (compared with normal text).

WebTV displays enclosed text in a font two sizes smaller than the current (or base) font. If the current font is already set to 1 or 2, subscripted text will display in font size 1.

DTD

<!ELEMENT SUB - - (%inline;)*          -- subscript, superscript -->
<!ATTLIST SUB
  %attrs;                              -- %coreattrs, %i18n, %events --
  >
from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."

Attributes

Core attributes: class id style title
Internationalization attributes: dir lang
Events: onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup

Examples

Source
The <SUB> element lets you specify glucose as C<SUB>6</SUB>H<SUB>12</SUB>O<SUB>6</SUB>.
 
Result
The <SUB> element lets you specify glucose as C6H12O6.
Statistics