HTML - Subscript
For a subscript we will use the <sub> tag, as you can see:
<p>This is a <sub>subscript text </sub></p> |
|---|
Display
This is a subscript text |
|---|
Subscript - Practical applications
The subscript tag, same as the superscript tag can be used at writing the mathematical expressions. Still, the place where we most find it are the chemical formulas.
<p>H<sub>2</sub>0 - Water <p>O<sub>2</sub> - Oxygen <p>CO<sub>2</sub> - Carbon dioxide <p>H<sub>2</sub>SO<sub>4</sub> - Sulfuric acid |
|---|
Display
H20 - Water O2 - Oxygen CO2 - Carbon dioxide H2SO4 - Sulfuric acid |
|---|
As you can see in the example presented above its use is very practical.
