News for hackers. Stuff that matters.
Re:The real HTML5 boilerplate by defroost on Sunday February 20, 2011 @09:54PM (#2244048)
681 lines? The HTML5 Boilerplate that I grabbed from Paul Irish's website, the commented version, is 94 lines. And much of the stuff can be removed. I have my own HTML5 boilerplate as a TextMate snippet, but augment it.

One thing about the Paul Irish boilerplate: why is the doctype declaration in lowercase?

<!doctype html> as opposed to <!DOCTYPE html>. TextMate doesn't seem to like the lowercase doctype as it highlights it in red. Not sure about Vim or Emacs.

Re:The real HTML5 boilerplate by strager on Sunday February 20, 2011 @10:36PM (#2244154)
I didn't check, but I think the 681 includes the CSS and such.

The "doctype" part is case-insensitive, according to the pseudostandard on WhatWG.org: http://www.whatwg.org/specs/web-apps/current-work/multipage/... I guess your editor was configured incorrectly; shows up fine in both forms in Vim.

Re:The real HTML5 boilerplate by nimbupani on Monday February 21, 2011 @03:33AM (#2244751)
Yes TextMate doesn't like it sadly :/