HTML <sup> Tag

Description


The <sup> HTML element defines superscript text. You can combine this with <sub> for superscripts and subscripts in formulas. In a text browser not compatible with the <sup> tag, it is displayed as ordinary characters.

Properties

Permitted Parents
Any element that accepts phrasing content
Content
Inline and text
Start/End Tags
Start tag: required, End tag: required

Example

Christmas is on the 25<sup>th</sup> of December.

Attributes

None

Global Attributes

The <sup> tag also supports the Global Attributes in HTML5

Event Attributes

The <sup> tag also supports the Event Attributes in HTML5

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
YesYesYes1YesYes
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYes4YesYesYes