Please why is <hr> the tag that wasn't closed still perform it's function well. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Please why is <hr> the tag that wasn't closed still perform it's function well.

9th Aug 2021, 8:14 AM
Chinedu Anyim
Chinedu Anyim - avatar
2 Answers
+ 1
"Some elements are quite small. Since you can't put contents within a break tag, and you don't have an opening and closing break tag, it’s a separate, single element." https://www.sololearn.com/learn/HTML/1028/
9th Aug 2021, 8:45 AM
dozule
dozule - avatar
+ 1
Thank you .
9th Aug 2021, 1:01 PM
Chinedu Anyim
Chinedu Anyim - avatar