# hr element

Type: | Images and Specials
Attributes: | align • background-color • background-image-dpi • background-image-position • background-image • background-pdf • border-color • border-style • border-width • border • clear • corner-radius • display • float • font-size • height • href • left • line-cap • line-height • line-join • margin • onmouseover • overflow • padding • page-break-after • page-break-inside • position • rotate • size • top • vertical-align • visibility • white-space • width • class • colorspace • direction • id • lang
See: | div

The hr tag draws a horizontal line across the document frame or window. You can use a horizontal line to visually divide information or sections.
As the hr tag is just a flat div, the color of the line should be set using the background-color attribute rather than color.

    <p>Here is section 1</p>
    <hr/>
    <p>Here is section 2</p>