HTML <sup> Tag

HTML <sup> Tag

In this tutorial, we will learn about sup tag in HTML with the help of examples.

<sup> Tag

Sup tag <sup> is used for defining superscript text(text appears above the normal line in smaller font size).




<!DOCTYPE html>
    <title>Sub Tag</title>
      <p>10<sup>2</sup> = 100</p>


102 = 100

Global Attribute

Sup Tag support all the global attributes of HTML.

Event Attribute

Sup Tag support all the event attributes of HTML.

Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <sup> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <svg> Tag.

- Related Topics