Home >> HTML 5 >> hr Tag in HTML 5

hr Tag in HTML 5

The <hr> tag stands for horizontal rule and is used to insert a horizontal line in an HTML page.

Syntax:
<hr>

For example:-

<!DOCTYPE html>
<html>
<head>
   <title>Hr Tag</title>
</head>
<body>
    <h2>Coder Raj/h2>
    <hr>
    <p>I am frontend developer.</p>
    <p>You are backend developer.</p>
</body>
</html>

Post Your Comment

Next Questions
html Tag
i Tag
iframe Tag
img Tag
input Tag
ins Tag
kbd Tag
label Tag
legend Tag
li Tag
link Tag
ul Tag
video Tag
wbr Tag

Copyright ©2022 coderraj.com. All Rights Reserved.