How to Code Superscript on a Website

If you're coding a website in HTML, you can use special CSS tags to change text color, size and positioning. Basic text editing is one of the core elements of HTML coding, but not every website creator has encountered niche text editing tasks, such as superscripts. Fortunately, superscript tags are similar to simple color or font size CSS tags. With a couple additions to your code, you can make any number or letter into a superscript.

Instructions

    • 1

      Type the <sup> tag in your code just before the place where you want a superscript.

    • 2

      Enter the number or letter you want to make into a superscript.

    • 3

      Close the superscript tag by inserting the </sup> code after the number or letter.

    • 4

      Save your Web page and open it in a browser to view your superscript character.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured