Superscript and Subscript in HTML

Superscript and Subscript in HTML


Subscript <SUB>: displays text in Subscript

Example:

H<SUB>2</SUB>O

Output:


Superscript <SUP>: displays text in Superscript

Example:

1<SUP>st</SUP>

Output:

Html : Superscript and Subscript in HTML Program List