HTML - Superscript

To produce a superscript text we will use the <sup> tag.

<p>This text is <sup>exponential!</sup></p>

Display

This text is exponential!


HTML - Exponents

We can use the <sup> tag to write mathematical expressions, as you can see:

3<sup>2</sup> = 9

14<sup>x</sup>

Display

32 = 9

10x


HTML - Footer notes

The superscript can be also used for references, explanations, and any other additional information in the foot note.

<p>"The woman <sup>1</sup> is the the devils eye." </p>

<hr />

<p>1. No explication for this element. </p>

Display

"The woman 1 is the the devils eye."


1. No explication for this element.

 

You can play with this element, which is very rarely used but it is very useful.