![]() |
Subscripted Tag |
HTML5 <sub> Tag
sub means Subscripted Tag. The <sub> tag defines subscript text. 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. Tip: Use the <sup> tag to define superscripted text.Subscript text can be used for chemical formulas, like H2O to be written as H2O.
Display
Inline
Example
<!DOCTYPE html>
<html>
<head>
<title> HTML5 Del Tag </title>
</head>
<body>
<p> Chemical formula of water is H<sub>2</sub>O</p>
<p>T<sub>i+2</sub>= T<sub>i</sub> + T<sub>i+1</sub></p>
</body>
</html>
Result
Video on this Topic :- Soon
0 comments:
Post a Comment
For Any Tech Updates, Hacking News, Internet, Computer, Technology and related to IT Field Articles Follow Our Blog.