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 the following result −

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

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes

html_tags_reference.htm

Advertisements