HTML <sub> Tag
The subscript text is defined by the <sub>
element. Subscript text is shown half a character below the standard line and is occasionally displayed in a smaller font.
To specify superscripted text, use the <sup>
element.
Syntax
Supported Browsers
Element | Chrome | Firefox | Safari | Edge / IE | Opera |
---|---|---|---|---|---|
<sub> | Yes | Yes | Yes | Yes | Yes |