Better HN
top
new
best
ask
show
jobs
Log in
Sign up
When less is more: Understanding void elements in HTML | Better HN
When less is more: Understanding void elements in HTML
(wizarddos.github.io)
6 points · by
thunderbong
· 2y ago · 2 comments
Comments
[–]
m4rc3lv
2y ago
I used to write the / even with br tags since that was the standard back in the days. Websites even had logos stating that they were XHTML compliant. Now I stopped writing /'s
[–]
ulrischa
2y ago
Pretty simple: with /is valid xml without not