Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
In this case, I don't think it will matter in terms of presentation in the web-browser. The practice of self-closing elements is part of the XHTML-standard, and it's a pretty good standard to follow, regardless. https://blog.teamtreehouse.com/to-close-or-not-to-close-tags-in-html5
20th Jul 2019, 7:22 AM
Roolin
Roolin - avatar