sub

Support

Specifies that the enclosed text should be displayed as subscripted text.

The sub element is used to define subscript text which appears half a character's height below the baseline of the line it's on.

Example

<p>H<sub>2</sub>O is a compound of two elements.  H and O</p>

Preview

H2O is a compound of two elements. H and O