What is <sup> tag?
Experience Level: Junior
Tags: HTML
Answer
The <sup>
tag is inline element which you need text to appear higher then the main spread of text.
<html>
<head>...</head>
<body>
<p>
E=mc<sup>2</sup>
</p>
</body>
</html>
Related HTML job interview questions
What is <hr> tag?
HTML JuniorWhat is <u> tag?
HTML JuniorWhat is <sub> tag?
HTML JuniorWhat is !DOCTYPE?
HTML JuniorWhich version of HML do you use?
HTML Junior