🔤Superscript and Subscript
Also known as Superscript, Subscript, Raised Text, Lowered Text
Small text set a bit above or below the line, like the 2 in H2O.
Think of it like
It is like a hat on top of a word, or shoes under it.
Example
In a science report, Ben types H2O. He makes the 2 a subscript, so it sits small and low, the way chemists write it.
Why it matters
Without them, formulas and footnotes are wrong or hard to read.
Definition
Example code
html
<p>Water is H<sub>2</sub>O and the area is 9 m<sup>2</sup>.</p>Common mistake
Key takeaways
- 1Above or below. Raised or lowered.
- 2Smaller. Out of the way of the text.
- 3Use the font's own. Drawn to match the weight.