> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/html/render-text-as-superscript.md).

# Render Text As Superscript

There is an [HTML tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup) 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](https://codepen.io/jbranchaud/pen/GzoyXe) to play around with it.
