html tutorial - Superscript <sup> tag in HTML - html5 - html code - html form
Learn html - html tutorial - superscript tag - html examples - html programs
- The <sup> tag is used to define the text as Superscript text. This tag is mostly used in the Formula’s.
- Superscript texts are placed in top of the Normal Line.
- The sup tag will also support both Global Attribute and Event attribute.
- <sup> tag belongs to Flow content and Phrasing content.
Syntax for <sup> tag:
Sample Coding for <sup> tag in HTML:
Code Explanation for <sup> tag in HTML:
- <sup> tag is used to define the text as a superscript text.
Output of <sup> tag:
- The output shows the text “sup” in top of the normal text.
Browser Support for <sup> tag:
Yes | Yes | Yes | Yes | Yes |