What is <hr> tag?
Experience Level: Junior
Tags: HTML
Answer
The <hr>
tag is used when you want to display a horizontal line. Or if you wont to visibly separe part of your HTML.
<html>
<head>...</head>
<body>
<hr>
<p>BetterCoder.io</p>
</body>
</html>
Related HTML job interview questions
What markup helps a browser to understand how to parse a web page properly?
HTML JuniorWhat is <meta> tag?
HTML JuniorWhat is <u> tag?
HTML JuniorWhat is <sup> tag?
HTML JuniorWhat is <sub> tag?
HTML Junior