Horizontal Rule


The <hr> tag in HTML creates a horizontal rule (line) across the page, often used to separate content visually. It’s a self-closing tag and doesn’t require an ending tag.


Example:



Styling <hr> with CSS:

The <hr> element can be customized for thickness, color, width, and style.


This styling makes the <hr> visually distinct and more adaptable to your layout and design.

Output will appear here...