Video Tutoral at https://youtu.be/B1UCE3nfLww
The <hr> tag defines a horizontal rule or thematic break in an HTML page. It shows as a horizontal line. It is used to divide or separate content or a change of topic, chapter, section, etc. It doesn't require an end tag.
The <br> tag is an empty tag used to break a line in HTML text. Like the <hr> tag, the <br> tag has no end tag. According to my online research, I learned that it is generally used in poems and addresses. Despite poems and addresses, I found that the <br> tag is also used in other topics.
The <hr> and <br> tags can be also written as <hr/> and <br/> respectively.
No comments
Post a Comment
If you have any doubt, please let me know.