The HTML <hr> tag is used for creating a horizontal rule. The <hr> element can be used to separate content in an HTML page. Most of the visual attributes for this tag have been deprecated in favor of style sheets.