Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tobyjsullivan
on April 25, 2012
|
parent
|
context
|
favorite
| on:
Google HTML/CSS Style Guide
The "Omit optional tags" section is rather... scary. Check out the example they include.
TazeTSchnitzel
on April 25, 2012
|
next
[–]
If you find it scary, you should really see this:
http://paulirish.com/2011/primitives-html5-video/
whichdan
on April 25, 2012
|
prev
|
next
[–]
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
on April 25, 2012
|
prev
|
next
[–]
I wonder if the Chrome team had any input there.
sebphfx
on April 25, 2012
|
prev
[–]
It's valid HTML5 but I can't get used to not close list items and even the body.
rimantas
on April 25, 2012
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: