I received a question today from Eric, a prospective reader, about which book he should buy: Head First HTML with CSS & XHTML or Head First HTML5 Programming (now the official title of the book, by the way). In his case, the right book to start with is Head First HTML with CSS & XHTML because Eric wants to learn HTML and CSS.
Even though we published Head First HTML with CSS & XHTML back in 2005, over 90% of the book is still completely relevant. When we update this book, we’ll be adding a few new HTML elements, a few new CSS properties, and changing how we talk about the future of HTML (and how we talk about XHTML), but essentially, the basics are the same. Which is great news, because it means that if you already know HTML and CSS, it’s fairly easy to upgrade your pages to HTML5 and make use of new HTML5 elements and CSS properties.