Please sign in to comment.
The order of <meta> tags, <title>, and charset has been documented mo…
…re extensively now: https://github.com/paulirish/html5-boilerplate/wiki/The-markup see The order of charset, meta tags, and <title>... Because the boilerplate markup enforces the document structure, we can intentionally place the charset above the title (and other content) and avoid the XSS issues that caused the HTML5 spec to specify that "charset must be in the first 512 bytes". So even if you throw the xmlns:fb="http://www.facebook.com/2008/fbml" bullshit into ALL the html tags, and the validator says your document is now invalid because charset is after the first 512 bytes, we'll.. it's okay. You're still safe. And so are the kittens.
- Loading branch information...