sup

The sup HTML element represents a superscript.

Syntax

HTML

<sup attribute-name="attribute-value"></sup>

Attributes

Global

CSS

sup {
    font-size: smaller;
    vertical-align: super;
}

Examples

CSS

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu