Signup/Sign In
PUBLISHED ON: FEBRUARY 22, 2021

HTML Sup Tag

In HTML, the <sup> tag stands for Superscript tag.

  • In a Web Page,<sup> render the text with raised baseline and in a smaller size.

  • The <sup> tag is used to display inline text as a superscript text for solely typographical reasons.

  • Exponents and powers of numbers are the most commonly used of Superscript text.

  • Also, this is an Inline Element.

HTML <sup> Tag Syntax and Usage

The <sup> tag requires the start(opening) tag and end(closing) tag.

<sup>
..content here
</sup>

HTML <sup> Tag Basic Example

Given below is an example showing you the basic usage of the <sup> tag:

HTML <sup> Tag Attributes

This element does not have any specific attributes although this element supports Global and Event attributes.

Default CSS Settings for HTML <sup> Tag

Most of the Browsers use these default CSS Settings:

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

Browser Support for HTML <sup> Tag

Following browsers support this attribute:

  • Google Chrome 9.0

  • Internet Explorer 11.0

  • Firefox 4+

  • Opera

  • Safari



About the author:
Aspiring Software developer working as a content writer. I like computer related subjects like Computer Networks, Operating system, CAO, Database, and I am also learning Python.