Line Break and Horizontal Line in HTML
Line Break (<br>)
The <br> tag is used to insert a line break in text, forcing the next content to start on a new line.
📌 Key Features of <br>:
- ✔ Self-closing tag (no closing </br> required)
- ✔ Used inside paragraphs, headings, and other text content
Horizontal Line (<hr>)
The <hr> tag is used to create a horizontal line (divider) between sections of content.
📌 Key Features of <hr>:
- ✔ Self-closing tag (no </hr> required)
- ✔ Creates a thematic break (used for section division)