DEV Community

Cover image for HTML tags | hr
Carlos Espada
Carlos Espada

Posted on • Edited on

1

HTML tags | hr

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 separator.

  • Type: block
  • Self-closing: Yes
  • Semantic value: No

Definition and example | Support

Top comments (0)

Agent.ai Challenge image

Congrats to the Agent.ai Challenge Winners 🏆

The wait is over! We are excited to announce the winners of the Agent.ai Challenge.

From meal planners to fundraising automators to comprehensive stock analysts, our team of judges hung out with a lot of agents and had a lot to deliberate over. There were so many creative and innovative submissions, it is always so difficult to select our winners.

Read more →

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay