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.

Example
<html>
<head>...</head>
<body>

    <hr>
    <p>BetterCoder.io</p>

</body>
</html>
Related HTML job interview questions