Welcome to Head First HTML & CSS, 2nd Edition

This brain-friendly guide teaches you everything you need to know about HTML and CSS to build, maintain, and expand your web pages. You won’t just be reading—you’ll be playing games, solving puzzles, pondering mysteries, and creating with HTML & CSS in ways you never imagined. And you’ll write real HTML and CSS so you can start building your own web pages for mobile and desktop right away.

If you have the book already, you’ll find everything you need to get the most out of it below. If not, you can get it on Amazon.


The book is just one piece of your adventure. Don’t miss out on brain-friendly updates, learn to code videos, live sessions and general cool stuff! Just give us your email and we’ll send you something at most once a week. Don’t worry, we’ll never sell your name and you can remove yourself at any time.

Get the Source Code

You should be typing in all the examples, but sometimes, when you encounter errors, it pays to have a working version of the code to compare against:

Hosting your Own Site

If you want to set up your own web site to put what you’re learning to good use as you read, here is a list of hosting providers (we don’t recommend any particular hosting site, but these have good reputations).

First Edition Code

If you have the first edition of the book, Head First HTML with CSS & XHTML, you can download the code for that edition here.

Don't miss out!!

Don't miss out on brain-friendly WickedlySmart updates early access to books and general cool stuff! Just give us your email and we'll send you something about once a week. 

You have Successfully Subscribed!