HTML/Elements/hr

From W3C Wiki
< HTML‎ | Elements
Jump to: navigation, search

<hr>

The <hr> element represents a paragraph-level thematic break.

Point

  • Example of paragraph-level thematic break
    • scene change in story
    • transition to another topic within a section of a reference book

etc.

  • The <hr> element does not affect the document's outline.

HTML Attributes

See global attributes.


Examples

Example A

[try it]

<p>Radios use the electromagnetic spectrum in the meter range and longer.</p>
<hr>
<p>Signal flares use the electromagnetic spectrum in the nanometer range.</p>

Hr01.png

HTML Reference

The HTML5 specification defines the <hr> element in 4.5.2 The hr element.