In this section, we will learn what HTML <sup> element is and how to use it.
HTML for superscript: What is <sup> Tag in HTML?
HTML <sup> element stands for superscript and is used in an HTML document when we want to add a superscript like a footnote to a word or a number, etc. in a document. This superscript basically appears half a character above the normal line.
The best way to learn this element is to check the example below and its result.
HTML <sup> Tag Syntax:
<sup> value </sup>
Example: superscript in HTML
See the Pen superscript in HTML by Omid Dehghan (@odehghan) on CodePen.