Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tobyjsullivan
· 14y ago · 0 comments
The "Omit optional tags" section is rather... scary. Check out the example they include.
Comments
[–]
TazeTSchnitzel
14y ago
If you find it scary, you should really see this:
http://paulirish.com/2011/primitives-html5-video/
[–]
whichdan
14y ago
I wonder why they suggest that? Their homepage is 115kb, so clearly they're not trying to absolutely minimize the size of their pages.
[–]
rollypolly
14y ago
I wonder if the Chrome team had any input there.
[–]
sebphfx
14y ago
It's valid HTML5 but I can't get used to not close list items and even the body.
[–]
rimantas
14y ago
It is also valid HTML4. If you are not comfortable not closing the body, you can just omit the opening tag also :). Likewise with html and head.