Why singleton tag doesn't requires a closing tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Why singleton tag doesn't requires a closing tag?

In html we many tags that not required to be closed like <img>,<br>. can anyone explain?

20th Jun 2018, 6:35 AM
Deepak Kumar
Deepak Kumar - avatar
2 Answers
+ 7
Basically Singleton Used to Require Closing Tags but after updation of VERSION it doesn't need it anymore
20th Jun 2018, 7:03 AM
∆PSI KID MERCY{}
∆PSI KID MERCY{} - avatar
+ 1
it's a matter of definition first of all. a possible explanation is that they are already closed. but most browsers will get the idea even if you include a '/'.
20th Jun 2018, 6:57 AM
wenz
wenz - avatar