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
Heading Tags
HTML heading tags are used to define headings and subheadings on a web page. They range from `<h1>` to `<h6>`, with `<h1>` being the most important and `<h6>` being the least important.
Image Tag
The `<img>` tag in HTML is used to insert images on a web page. Learn how to use the `<img>` tag to display images in HTML.