Computer Science, asked by vaibhavsaxena42, 7 months ago

d) What is the difference between BR and HR tag? Explain it with proper
examples for both tags with input output screen. ​

Answers

Answered by rejiabhilashnair
7

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

Answered by dpk3bhk
6

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.

Similar questions