HTML: Subscript formatting

This entry is part 6 of 34 in the series HTML

Subscript makes text smaller and moves it below the baseline.

The most common use for subscript is in chemical formulas such as H2SO4.

<!DOCTYPE html>
<head lang="en">
    <meta charset="UTF-8">
    <title>Subscript Formatting</title>

<H2>H<sub>2</sub>O is actually water</H2>

Series Navigation<< HTML: Applying superscript formatting
HTML: Block quotation >>

Leave a comment

Leave a Reply