Why singleton tag doesn't requires a closing tag? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 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 Respostas
+ 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