30/09/2014

HTML Superscript

To produce a superscript text use the <sup> tag
.
<p>This text is <sup>exponential!</sup</p>
Preview
This text isexponential!
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>
Preview
32 = 9 14x
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> has lovely eye.</p>
<hr />
<p>1. No explication for this element.</p>
Preview

The woman 1 has lovely eye.

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