0

No Ending Tags in html

which tag doesn't have ending tag?

22nd Dec 2016, 4:43 PM
Mohammad Abu Sayed
Mohammad Abu Sayed - avatar
2 ответов
+ 2
List-item <li> tag has an end tag, but it is one of the tags where closure is OPTIONAL. No confusion intended; just a shade of grey. http://stackoverflow.com/a/20550925/3981745
22nd Dec 2016, 6:05 PM
Kirk Schafer
Kirk Schafer - avatar
+ 1
<hr /> <img /> <link /> <meta /> <input /> <area /> <base /> <br /> <col /> <command /> <embed /> <keygen /> <param /> <source /> <track /> <wbr /> these tags have no ending tag (or can say themselves as ending tag)
22nd Dec 2016, 4:48 PM
Mohammad Abu Sayed
Mohammad Abu Sayed - avatar