What is <sub> tag?
Experience Level: Junior
Tags: HTML
Answer
The <sub>
tag is inline element. Is use for text to appear lower than the main spread of text.
<html>
<head>...</head>
<body>
<p>
H<sub>2</sub>O
</p>
</body>
</html>
Related HTML job interview questions
What is <u> tag?
HTML JuniorWhat is <sup> tag?
HTML JuniorWhat is !DOCTYPE?
HTML JuniorWhich version of HML do you use?
HTML JuniorWhat is <figure> tag?
HTML Junior