Today I Learned

A Hashrocket project

Render Text As Superscript

There is an HTML tag that tells browser engines to render text as superscript — like when you need an exponent.

<p>Render this text as <sup>superscript</sup>!</p>

Here is what the above would look like:

screenshot

Check out this codepen example to play around with it.