Subscripts & Superscripts (<sub>, <sup>, <abbr>)

🟢 Beginner

📖 Definition

Subscripts and Superscripts (<sub>, <sup>) render character text below or above the baseline, ideal for mathematical formulas, chemical compounds, ordinal numbers, and footnotes.

🌍 Multilingual Summary

English

Use <sub> for subscript (H2O) and <sup> for superscript (X2 or 1st).

Hindi

Chemical formulas ke liye <sub> aur math exponents ya ordinals ke liye <sup> use hota hai.

⚡ Code Example

<p>Water Formula: H<sub>2</sub>O</p>
<p>Einstein Equation: E = mc<sup>2</sup></p>

🧭 Navigation

← 02. Presentational Formatting | Module Index | Module Index →