small medium large xlarge

Errata for HTML5 and CSS3


The latest version of the book is P4.0, released almost 4 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P3.0 (31-Jul-13)
PDF page: 9
Paper page: nhk


  • Reported in: P4.0 (21-Sep-12)
PDF page: 19
At the end of the second paragraph in the "Joe asks" aside, it says: ... For example, if you had a self-closing script tag above a div like th...more...
  • Reported in: P4.0 (06-Jun-14)
PDF page: 25


  • Reported in: P4.0 (25-Feb-12)
Paper page: 25

sidebar should be floated right to match figure 2.2

float: right;
width 25%;

  • Reported in: P4.0 (18-Jul-12)
Paper page: 26-29
The last example on customised pop-ups (popup.html) does not include the jquery script that is in the source code. It would be useful to include it w...more...
  • Reported in: P4.0 (13-May-12)
Paper page: 27
The fall back java script for IE 8 and less produces an empty screen whenever the structural elements are used. However, the script works if the struc...more...
  • Reported in: P4.0 (20-Apr-13)
PDF page: 31
Page 31 says that the target attribute of the <a> element has been deprecated. I found a link (that I can't post in this forum) that says it is no lo...more...
  • Reported in: P3.0 (07-Dec-11)
PDF page: 36
Last item on the page for the sidebar: We’ll also need to float the sidebar and define its width. Download html5newtags/style.css section#sideb...more...
  • Reported in: P4.0 (30-Mar-13)
Paper page: 42
Place holder for password field is truncated, turning "Type your password again" into "Type your password". Designers should be cautioned to pay atte...more...
  • Reported in: P4.0 (25-Nov-12)
PDF page: 136
"If the browser has support for the border-radius property" (last sentence of the "Invoking the Rounding" section), but the code ("if(!hasBorderRadius...more...
  • Reported in: P1.0 (19-Jul-13)
PDF page: 140
In the following function the classes aren't surrounded by "" and therefore the snippet doesn't run. function canPlayVideo() { return !!document...more...
  • Reported in: P2.0 (05-Feb-13)
Paper page: 193

- History API lists [IE8] support which is incorrect.
- Cross-document Messaging does not list IE at all, believe [IE8] should be listed?

  • Reported in: P4.0 (16-Apr-12)
PDF page: 204
In the following fragment at the top of page: Form validation Client-side validation of inputs. [C5, S5, 10.6] It seems that you've forgotten to ...more...
  • Reported in: P1.0 (11-Jul-12)
PDF page: 244
In order to "make all the links on a page with the class of popup open in a new window" var links = $("#links a" ); Should read: var links = $(...more...