Not sure where to start? Take the 1-minute course quiz →
Blogs

What is Hr Tag in HTML

Hr Tag in HTML

 

<hr> This tag creates a horizontal line across the page, which can be used to visually divide sections of content.

It is often used to separate a heading from the body of the text or to separate two different topics.

   <p>

        This is an example of pre-formatted text.

        It preserves both spaces and line breaks.

        <hr>

        You can use it to display code snippets or other text that should be formatted exactly as it appears.

    </p>

 

What is Hr Tag in HTML
Free downloads

Found this useful? Get our free cheatsheets

SEO cheatsheet, Google Business checklist and a full course guide. Enter your WhatsApp number to download them instantly.

Instant download. We may WhatsApp you course tips; reply STOP anytime. No spam.

Refer a friend, earn 10% Earn 10% of every course your friends buy. They save 10% on their first course.
Explore courses
+91 79760 71210 WhatsApp us