<hr>
The <hr> element represents a thematic break between paragraphs, often shown as a horizontal rule.
Overview
The <hr> element represents a thematic break between paragraphs, often shown as a horizontal rule.
Browser support
| Feature | Desktop | Mobile | ||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Safari | Chrome Android | Safari iOS | |
| 1 | 12 | 1 | 3 | 18 | 1 | |
| DOM API | ||||||
| The HTMLHRElement interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating hr elements. | 1 | 12 | 1 | 1 | 18 | 1 |
1+Supported (version) Not supported ※Has note Sub-feature descriptions sourced from MDN Web Docs (CC BY-SA 2.5)
Syntax
HTML
<p>Contents of Chapter 1...</p>
<hr>
<p>Contents of Chapter 2...</p> Live demo
Use cases
Using <hr>
The <hr> element represents a thematic break between paragraphs, often shown as a horizontal rule.
Cautions
- May not be supported in older browsers.
Accessibility
- Verify how this element is announced by screen readers.
Related links
Powered by web-features