d) What is the difference between BR and HR tag? Explain it with proper
examples for both tags with input output screen.
Answers
Answer:
The <br> tag inserts a single line break. The <br> tag is an empty tag which means that it has no end tag.
In HTML5, the <hr> tag defines a thematic break. In HTML 4.01, the <hr> tag represents a horizontal rule. However, the <hr> tag may still be displayed as a horizontal rule in visual browsers, but is now defined in semantic terms, rather than presentational terms
hope it help
mark me as brainlist if u are helped by my answer
Answer:
<BR> tag: This is an empty tag. It is used to show line break. This tag is useful when sentences in a
page are to be displayed in separate lines Whereas <HR> TAG: This is an empty tag. It is used to
add shaded horizontal lines in a web page. It is generally used to separate two different items in a
document.