Supported Browser

  • Google Chrome 1
  • Microsoft Edge 12
  • Firefox 1
  • Opera 15
  • Safari 4


HTML Subscript and Superscript Tags

In HTML, the <sub> tag is used for subscript, making text appear slightly below the normal line, while the <sup> tag is used for superscript, positioning text slightly above the normal line. These tags are employed to format text in a way that is either lower or higher than the regular text line, useful for applications such as chemical formulas or mathematical expressions.

Table of Content

  • Subscript
  • Superscript

Similar Reads

Subscript

The tag is used to add a subscript text to the HTML document. The tag defines the subscript text. Subscript text appears half a character below the normal line and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O to be written as H2O....

Superscript:

...

Supported Browser:

...

Contact Us