<sub> Tag in HTML 5

In this article I am going to explain about <sub> tag in Html 5.
  • 1847

Definition

The <sub>  use for display subscript text. Subscript text means such type of text that display below from the baseline, its mainly use for display chemical formulas.

Browser that supports <sub> tag

Internet explorer, Mozilla firefox, Google chrome, Opera and Safari browsers.

Lets take an example of <sub> tag

 <html>
<head>
<p>
H<sub>2</sub>o</p>
<p>
CO<sub> 2</sub></p>
</head>
</html>
 

Output

sub.jpg

Further Readings

You may read more about HTML 5 Tags:  here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.