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 | |||||
12 | 1 | 1 | 15 | 4 |
Tablets / Mobile | |||||
18 | 4 | 14 | 3.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th September 2023