sup or superscript tag in html

The content of a element is written in superscript; it is displayed half a characters height above the other characters and is also often slightly smaller than the text surrounding it.

For Example Written on the 1st January 2013.

The element is especially helpful in adding exponential values to equations, and adding the st , nd , rd , and th suffixes to numbers such as dates. However, in some browsers, you should be aware that it can create a taller gap between the line with the superscript text and the line above it.

The Superscript text always written between Superscript text .

Author: Ramesh Saini

Leave a Reply

Your email address will not be published. Required fields are marked *