sub

I. Description

The HTML <sub> element is used to create a subscript. Subscripts can be useful when you need to output a molecular formula, or certain mathematical equations.

See also: The superscript element (<sup>).

II. Examples

<!DOCTYPE html>
<html>
    <head>
        <title>Example Page</title>
    </head>
    <body>
        <h1>Example HTML Page</h1>
        <p>The molecular formula for water is H<sub>2</sub>O.</p>
    </body>
</html>