Posted 19 January 2013 - 08:35 PM
Note, that in the new version of the book the doctype has changed to the HTML5 doctype:
along with a couple of other small things.
We put the border on the body tag in the first chapter, which probably wasn't a good idea because different browsers have different ideas of how that should be rendered (specifically IE doesn't like to show a border on a body).
However, if you keep going in the book, the rest of the examples should all work (fingers crossed!). We tried to avoid anything that would cause an issue in a browser, but it's tricky to do that with all browsers, especially as they change quickly!
Author: Head First HTML5 Programming, Head First HTML and CSS, Head First Design Patterns