What is Hr Tag in HTML

What is Hr Tag in HTML

Hr Tag in HTML
Blogs

What is 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>

 

Leave your thought here

Your email address will not be published. Required fields are marked *

Alert: You are not allowed to copy content or view source !!