Specifies that the enclosed text be displayed in subscript. | HTML 3.2, 4, 4.01, 5 |
HTML Syntax
<sub
class = classname
id = value
style = css_style_rules
title = text
>
The <sub
> element denotes a subscript.
Subscripts in HTML appear slightly below the baseline ( bottom edge ) of the preceding text and in a smaller font.
Along with the <sup> element, these elements must be used only to mark up typographical conventions with specific meanings.
NOTE: Both start and end tags are required.
The <sub>
element has no attribute of its own, but supports global attributes common to all HTML elements.
The following sample will render like this: ( X1,Y1 )
( X<sub>1</sub>,Y<sub>1</sub> )
SUP