HTML - HR (Horizontal Rule)

About

The hr component permits delimiting two content sections by drawing a horizontal rule (hr).

It represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book.

Syntax

Because HR is a void element, it supports both syntax

  • only HTML
<hr>
  • HTML- and XHTML-compatible
<hr/>





Discover More
HTML - (Element|Tag|Markup)

element in HTML where: Tag In HTML, Tag name of an element are TR/html-markup/documents.htmlcase-insensitive. In XHTML, tag names are case sensitive and must be written in their canonical...



Share this page:
Follow us:
Task Runner