HTML: The Markup Language

hrthematic break CHANGED # T

The hr element represents a paragraph-level thematic break.

Permitted content #

empty (void element)

Permitted attributes #

Additional constraints and admonitions #

Tag omission #

The hr element is a void element. An hr element must have a start tag but must not have an end tag.

Permitted parent elements #

any element that can contain flow elements

Details #

Some examples of thematic breaks that can be marked up using the hr element include a scene change in a story, or a transition to another topic within a section of a reference book.

DOM interface #

interface HTMLHRElement : HTMLElement {};

Typical default display properties #

hr {
display: block;
margin: 0.5em auto;
border-style: inset;
border-width: 1px; }