Specifies that the enclosed text should be displayed in subscript, using a smaller font than the current font.
HTML Syntax
<SUB CLASS=classname ID=value LANG=language LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS STYLE=css1-properties TITLE=text event = script >
Remarks
The SUB element is an inline element and requires a closing tag.
This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.
Members
Styles
Example
This example uses the SUB element to change some of the text to a subscript font.
(X<SUB>1</SUB>,Y<SUB>1</SUB>)The preceding code causes the text to render as follows:
(X1,Y1)
See Also