In this section, you will see the use of <sub> and <sup> of html5.
In this section, you will see the use of <sub> and <sup> of html5.In this tutorial, you will see how to use
<sub> and <sup> tag. The <sub>
is used for defining subscript text. But 2 tag is used for superscript text in
your document.
<sub>subscript text</sub> |
<sup> superscript text</sup> |
<!doctype html > <html> <head><title>Insert title of document</title></head> <body> <h2>HTML5 <sub> and <sup> tag example.</h2> <p>Subscript</p> H<sub>2</sub>SO<sub>4</sub> <p>Superscript</p> Num<sup>2</sup>. </body> </html> |
None.