Purpose of creating a horizontal rule.

Q14. What is the purpose of creating a horizontal rule?

Ans. The <HR> tag creates a horizontal line, which can be used to separate paragraphs or sections in a Web page. This tag is useful to separate blocks of text in a long document which the Web browser presents as a single page. The Web browser starts a horizontal rule from a new line and any text after this tag is also displayed in a new line.

Leave a Reply

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

%d bloggers like this: