Superscript and Subscript
suggest changeTo mark text as superscript or subscript, use <sup> and <sub>. Browsers usually raise or lower that text. Use them for things like exponents, footnotes, and chemical formulas, not just for a smaller font.
To create superscript:
<sup>superscript here</sup>
To create subscript:
<sub>subscript here</sub>
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents