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

The following table will show you the current browser support for the HTML <sup> tag.

Desktop
Edge Chrome Firefox Opera Safari
1211154
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
184143.214.4

Last updated by CSSPortal on: 30th September 2023