Superscript and Subscript

The superscript element ( <sup>...</sup> ) and subscript element ( <sub>...</sub> ) are used to raise or lower text relative to normal text.

The superscript element is used to denote characters that should appear as ‘superscript’, such as date suffixes or mathematical powers.

The subscript element is commonly used with footnotes or chemical and mathematical formulas, especially regarding fractions such as 1/3.

<p>This is a the 3<sup>rd</sup> element in this section.</p>

<p>You are <sup>1</sup>/<sub>3</sub> through this section.</p>

html elements subscript superscript