Teach Yourself HTML5 in 24 Hours

The companion site for Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours — code samples, live examples, errata, and free chapters.

If you have the book, everything it points you to is here: the code samples from every hour, the working examples you can open in a browser, the errata, and free chapters to download.

If you don’t, you’re still welcome — there are articles on HTML, CSS and web design going back to 2011, and they’re free to read.

  • Code samples — the listings from each hour of the book
  • Examples — the demos, live and runnable in your browser
  • Errata — corrections, across all five books
  • Freebies — free chapters and sample videos
  • About the book — what’s in it and where to buy it

Latest articles

  • What's New in 2023

    What's happening on this site?

  • Force a Download with HTML5

    HTML5 is the greatest version of HTML ever! (Well, at least until the next awesome version comes out). I just learned how trivially easy it is to force downloads with HTML5. I was just trying to force …

  • Do Hackers Care About Your Meta CharSet?

    The other day, I got this question about the meta charset tag in the mail: “Would you be so kind as to explain to me, in logical terms, how in 7 hecks does the presence of: <meta charset="utf-8"> is …

  • Clip Your Images with CSS clip-path

    I used to try to clip images using the CSS clip property, but that was so difficult that I typically gave up and got out my image editor. What is the point of spending four hours trying to force an …

  • So Excited about image-set() Notation!

    As I’ve been writing my next book on forgotten features of CSS, I have been coming across some really cool things. It’s been hard to keep up the writing as I get so excited about actually using the …