HTML <sup> tag
Definition and usage
<sup>
Label defines superscript text. Superscript text appears above the normal line at half a character position and is sometimes presented in a smaller font.
Superscript text can be used for footnotes, such as WWW[1].
Tip:Please use <sub> tag Define subscript text.
See Also:
HTML Tutorial:HTML Text Formatting
HTML DOM Reference Manual:Superscript Object
Global Attributes
<sup>
The tag also supports Global Attributes in HTML.
Event Attributes
<sup>
The tag also supports Event Attributes in HTML.
Default CSS Settings
Most browsers will display the following default values <sup>
Element:
sup { vertical-align: super; font-size: smaller; }
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |