How to Enter HTML Superscript

Superscripts are numbers or letters that appear smaller than the normal line of text and are set slightly to the right and above another number or word. Superscripts are often used in formulas to express powers. For example: 16^2 = 16 x 16. To express the raised 2 in HyperText Markup Language, use the <sup></sup> tag.

Instructions

    • 1

      Declare the terms of the expression. For example:

      x = 16^2;

    • 2

      Select the HTML tag type to use. For example:

      <sup> </sup>

    • 3

      Express this in HTML:

      <p>

      The value x is equal to 16<sup>2</sup>

      </p>

Related Searches:

References

Comments

Related Ads

Featured