It is used to represent a thematic break in the flow of a set of paragraphs, for example a scene change in a story or a topic change within a section.
It has always been represented as a horizontal line, and although this is how visual browsers usually display it,
<hr> is now defined in semantic terms rather than in terms of presentation, so if you want to draw a line horizontal should be done with CSS.
Has an implicit ARIA role
- Type: block
- Self-closing: Yes
- Semantic value: No
Top comments (0)