HTML <sup> and <sub> Examples
July 6, 2025
The <sup> and <sub> tags in HTML are used to display superscript (raised text) and subscript (lowered text). Superscript is commonly used in math formulas (like x<sup>2</sup>) or footnotes (like 1<sup>st</sup>), while subscript is used in chemical formulas (like H<sub>2</sub>O). These tags help format text in scientific, academic, or technical content for better readability and structure.
Animated <sup> & <sub>
HTML Sub and Sup
<sup> & <sub>: Math Sums & Products
Sub/Sup Toggle
Sup-er Dates
Loading more...