HTML Horizontal Lines


HTML <hr> element is used for horizontal line. In HTML, the <hr> tag has no closing tag.

To add a horizontal line, simply add the following one-sided tag where you want the line to appear:

<hr>

HTML <hr> tag example

html horizontal tag