Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on HTML5 Boilerplate - A rock-solid default template for HTML5. Parent comment
But browsers are supposed to create HEAD and BODY elements if your markup doesn't include them. However some do not: http://www.stevesouders.com/blog/2010/05/12/autohead-my-firs...
This means everyone's code that does `document.getElementsByTagName('head')[0]` will fail in some cases. Because that is rather risky, we decided to retain these optional elements..
The closing tags for </body> and </html> however...
There are no comments on this comment yet.
But browsers are supposed to create HEAD and BODY elements if your markup doesn't include them. However some do not: http://www.stevesouders.com/blog/2010/05/12/autohead-my-firs...
This means everyone's code that does `document.getElementsByTagName('head')[0]` will fail in some cases. Because that is rather risky, we decided to retain these optional elements..
The closing tags for </body> and </html> however...