HTML <sup> Tag

Definition und Verwendung

<sup> Die Definition von Texten in einer Oberzeile. Texte in der Oberzeile erscheinen über der Normalzeile in der Hälfte der Zeile und werden manchmal in einer kleineren Schriftart dargestellt.

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

Example

Superscript Text:

<p>This text contains <sup>superscript</sup> text.</p>

Try It Yourself

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;
}

Try It Yourself

Browser Support

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
Support Support Support Support Support