Javatpoint Logo
Javatpoint Logo

HTML <sup> tag

HTML <sup> tag is termed as a superscript tag which is used to define superscript text. The text within <sup> tag appears with an upper baseline and renders with smaller font size than surrounding text.

The <sup> tag is useful for defining Mathematical formulas and footnotes.

Syntax

Following are some specifications about the HTML <sup> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Textual

Example

Test it Now

Output:

HTML sup tag

Attribute:

Tag-specific attributes:

The <sup> tag does not contain any specific attribute.

Global attribute:

The <sup> tag supports the Global attributes in HTML.

Event attribute:

The <sup> tag supports the Event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<sup>YesYesYesYesYes
Next TopicHTML svg Tag





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA