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>

Comments

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