HTML Tag Reference - HTML tag <sup>








This <sup> element renders the enclosed text in superscript format and in smaller font.

Browser compatibility

<sup> Yes Yes Yes Yes Yes

What's new in HTML5

None.

Global Attributes

The <sup> tag supports the Global Attributes in HTML.

Event Attributes

The <sup> tag supports the Event Attributes in HTML.

Default CSS Settings

sup { 
    vertical-align: super;
    font-size: smaller;
}




Example

A demo showing how to use <sup> tag.

<html>
<body>
     <p class="explanations">
          Microsoft<sup>&reg;</sup>
     </p>
</body>
</html>

Click to view the demo