subscript html code example
Example 1: how to write superscript in html
<sup>this text is in superscribt</sup>
Example 2: subscript html
<!--use the sub tag-->
<p>This text contains <sub>subscript</sub> text.</p>
<sup>this text is in superscribt</sup>
<!--use the sub tag-->
<p>This text contains <sub>subscript</sub> text.</p>