Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/myscript/public_html/classes/classdb.php on line 42
<sup> Tag | Manipulating Text | HTML5 Tutorial | Example

sup tag

<Sup> (Superscript Tag)

Explanation

Sup tag is used to show a text above the normal base line.
<sup>Text</sup>

Example Code:

Result :

Nano is a metric unit prefix, which is also denoted as 10-9


  • It helps to show the mathematical symbols exactly as mentioned in books.
  • It is necessary to add proper closing tags for this tag.
It is available in the previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all the browsers.

Ask Questions

Ask Question