The best HTML <sup> tag Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Tag definitions and instructions,Differences between HTML 4.01 and HTML5,Global Properties,Event Properties,

HTML <sup> tag

Examples

Superscript text:

<p>这个文本包含 <sup>上标</sup> 文本。</p>


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support <sup> tag.


Tag definitions and instructions

<Sup> tag defines superscript text. Superscript text will display character height above the baseline of the half in the current text flow, but with the current text flow of text fonts and sizes are the same. Superscript text can be used to add footnotes, such as WWW [1].

Tip: Use <sub> tag defines subscript text.


Differences between HTML 4.01 and HTML5

no.


Global Properties

<sup> tag supports HTML global properties .


Event Properties

<sup> tag supports HTML event properties .

HTML <sup> tag
10/30