Horje
How to create HTML <sup> Element

The HTML <sup> element defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW[1]:


Example of HTML <sup> Element

<p>This is <sup>superscripted</sup> text.</p>

Full Example of HTML <sup> Element

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>This is <sup>superscripted</sup> text.</p>

</body>
</html>

Output should be:

Full Example of HTML <sup> Element





Category:
Web Tutorial
Sub Category:
HTML Formatting
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference