Horizontal Rule
Last updated
What is Horizontal Rule?
The <hr> tag in HTML creates a thematic break in an HTML page and is most often displayed as a horizontal rule. It's used to separate content visually, like dividing sections of text or indicating a change in topic. The <hr> tag is an empty element, meaning it doesn't have a closing tag.
Free resources to learn Horizontal Rule
More in stage 4: Textual Tags
Horizontal Rule: common questions
Can I learn Horizontal Rule in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Horizontal Rule in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Horizontal Rule tutorial for beginners?
It is lesson 29 of 88 in the free HTML roadmap, in stage 4, Textual Tags. If you are new to HTML, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.