HTML <sup> Tag

Advertisements


Description

The HTML <sup> tag is used for defining superscript text.

Example

<!DOCTYPE html>
<html>
<head>
<title>HTML sup Tag</title>
</head>
<body>
Value of 5<sup>2</sup> + 3<sup>3</sup> = 52
</body>
</html>

This will produce following result:

Value of 52 + 33 = 52

Global Attributes

This tag supports all the global attributes described in - HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in - HTML Events Reference

Browser Support

ChromeFirefoxIEOperaSafariAndroid
YesYesYesYesYesYes

html_tags_reference.htm

Advertisements