Skip to content

<sub> - The Subscript Element

Inline HTML 3.2

The subscript element represents inline text displayed as subscript, positioned below the normal line of text and often in a smaller font.

Result
<sub>subscript text</sub>

The <sub> element displays its content below the baseline.

Result
Result
Result
Result
Result
Result
Result
Result
Result

Customize subscript appearance:

Result
Result

Combining subscript and superscript:

Result
<!-- Don't use sub just to make text smaller/lower -->
<p>Copyright<sub>©</sub> 2024</p>
<!-- Don't use sub for footnote markers -->
<p>See note below<sub>*</sub></p>

Most screen readers read subscript text without announcing it as subscript. The positioning is primarily visual.

For chemical formulas and complex notation, provide explanatory text:

<p>
Water (<abbr title="H-two-O">H<sub>2</sub>O</abbr>)
is essential for life.
</p>

For critical information, provide text alternatives:

Result
Result
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE3+Full support

The <sub> element has been supported since the earliest browsers.