HTML Tag Reference - HTML tag <sup>

This <sup> element renders text in subscript format and in a smaller font than other text on the page.

Browser compatibility

<sup> Yes Yes Yes Yes Yes

What's new in HTML5


Global Attributes

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

Event Attributes

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

Default CSS Settings

sub { 
    vertical-align: sub;
    font-size: smaller;


A demo showing how to use <sub> tag.

          H<sub>2</sub>O is the chemical formula for regular water.

Click to view the demo