HTML Horizontal Rules HTML
- HTML Introduction
- HTML Tags
- HTML Basic Examples
- HTML Headings
- HTML Paragraphs
- HTML Links
- HTML Images
- HTML Buttons
- HTML Lists
- HTML Attributes
- HTML Horizontal Rules
- The HTML <head> Element
- The HTML <pre> Element
- The HTML Style Attribute
- HTML Text Formatting
- HTML Quotation and Citation Elements
- HTML Comment Tags
- HTML Colors
- Styling HTML with CSS
- HTML Tables
- HTML Lists
- HTML The class Attribute
- HTML The id Attribute
- HTML Iframes
- HTML Form Elements
HTML Horizontal Rules
What is HTML Horizontal Rules or <hr> tag?
The <hr>
tag defines a thematic break in an HTML page and is most often displayed as a horizontal rule.
The <hr>
element is used to separate content (or define a change) in an HTML page:
Example
<h1>This is heading 1</h1>
<p>This is some text.</p>
<hr>
<h2>This is heading 2</h2>
<p>This is some other text.</p>
<hr>