HTML5 Designing Rich Internet Applications

Four of us doctors have read this book (figure 1) and in our opinion it contains an unacceptable number of errors which makes it misleading to the reader.

  • The preface claims “a group called the Web Standards project began developing HTML5 in 2007”. It didn’t; it was the WHATWG, in 2004.
  • In “spring 2010 .. Microsoft formerly [sic] joined the HTML5Working Group”. Chris Wilson, then lead of Internet Explorer, was co-chair in 2006.
  • Page 11 mentions the <m> element. There isn’t one; it was renamed to the <mark> element (as it’s correctly called on page 22) before June 2008, at least 2 years before this book was published July 2010.
  • Page 19 discusses the <dialog> element, which was removed from the spec in September 2009.
  • Page 27 tells us “The W3C had already begun modernizing the FORM element, called Forms 2.0, before HTML5”. The WHATWG started with Webforms 2; the W3C had worked on XForms 1.0.
  • There is a <navigation> element used extensively in the chapter “Building a web site using HTML5 blocking elements” — this should be the <nav> element.
  • Page 72 tells us “The ANCHOR element has four pseudo classes: link, active, hover and visited”, omitting the focus pseudo-class which is vital for accessibility, as it is applied when a user navigates to a link using the keyboard rather than hovering with a mouse.
  • Page 73 says “New to CSS3 is a new extension called pseudo elements”. Pseudo-elements were there from CSS 1.

The book also promotes several examples of bad coding practices:

  • <br/><br/> pairs to force new lines
  • classitis (<footer class="footerStyle">)
  • form <label>s are not accessibly associated with their <input>s
  • not using the full vendor-prefix stack (-moz-, -ms- , -o-, -webkit-, [no prefix]) resulting in code that is neither future-proof nor cross-browser
  • bad semantics, for example <p class=mainTitleStyle> rather than using an HTML heading

Download Links

  1. Download from Google Docs (1,285 hits)

Tags: free ebookHTML5

Leave a Reply