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:
Render this text as superscript!
Check out this codepen example to play around with it.