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.

Example
<html>
<head>...</head>
<body>
    <p>
        H<sub>2</sub>O
    </p>
</body>
</html>
Related HTML job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.