Horizontal Line Tag
The `<hr>` tag in HTML is used to create a horizontal line or rule on a web page. Learn how to use the `<hr>` tag to separate content and create visual divisions in HTML.
How to use the hr tag
The syntax of the hr tag looks something like this.
<hr />The <hr> tag is an empty or self-closing tag, meaning it doesn't require a closing tag. It serves as a visual separator, dividing different sections of your document with a horizontal line.
How is this guide?
Sign in to share your feedback
Help us improve by sharing your thoughts on this guide.
Last updated on
Line Break Tag
The `<br>` tag in HTML is used to create a line break or new line within a block of text. Learn how to use the `<br>` tag to add line breaks in HTML.
Anchor Tag
The `<a>` tag in HTML is used to create hyperlinks or anchor links to other web pages or resources. Learn how to use the `<a>` tag to create links in HTML.
© 2026CoderrShyamAll Rights Reserved.