HTML <sup> (Superscript) Tag

❮ Previous Reference Next ❯

Example

<p>This is <sup>superscript</sup> text</p>

Meaning

The <sup> element renders its content as superscripted text.

Notes:

Version: HTML 3.2, 4, 4.01, 5


Standard Syntax

<sup>...<sup>



Browser Support




Status







Global Attributes

The <sup> element also supports the Global Attributes in HTML.


Event Attributes

The <sup> element also supports the Event Attributes in HTML.




By Default CSS Value(s)

Most of the browsers will display the <sup> element with the following by default value(s)

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



Related Tags:

<a>, <abbr>, <b>, <bdi>, <bdo>, <br>, <cite>, <code>, <data>, <dfn>, <em>, <i>, <kbd>, <mark>, <q>, <rp>, <rt>, <ruby>, <s>, <samp>, <small>, <span>, <strong>, <sub>, <time>, <u>, <var> and <wbr>
❮ Previous Reference Next ❯