Subscript in HTML
In HTML <sub> element tags defines Subscripted texts.Subscript text appears half a character below the normal line and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O, H2SO4.
Input:-
<html>
<body>
<p>This is normal text</p>
<p>This is<sub> subscripted</sub>text </p>
</body>
</html>
Output:-
Comments
Post a Comment