HTML subscript - how to use <sub> tag

The HTML <sub> tag is used to define subscript text. The subscript text usually appears in smaller font and the text appears below the normal line.


The sub tag supports the global and event attributes.


<p><strong>HTML5</strong> is the building <sub>block</sub> of webpages.</p>

Related HTML tags:

  • <sup> - used to define superscript