Last Updated on April 26, 2023 by Roshan Parihar
HTML hr tag is a horizontal ruler used to show horizontal lines in content.
Syntax
1 2 3 |
<p>This is the first paragraph.</p> <hr> <p>This is the second paragraph.</p> |
Output
This is the first paragraph.
This is the second paragraph.
Resources and References HTML hr tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github