sub tag

<Sub> (Subscript Tag)

Explanation

Sub tag is used to display the text below the normal base line.
<sub>Text</sub>

Example Code 1:

Result 1:


The formula for Water is H20

Example Code 2:

Result 2:


Voir aussi la balise pour definir le texte en exposant.
  • The <sup> can used with this element.
  • It helps to display the formulas and mathematical expressions accurately.
  • It suits well to the French language, as it helps to represent the abbreviations.
It is available in the previous versions of HTML.
It supports both Global Attributes and Event Attributes in HTML5.

Limitations:

It is applicable to all major browsers.

Ask Questions

Ask Question