Introducing HTML5 Book Review
216 pages in length, its small enough to fit neatly into your bookshelf without looking like a 'doorstep of geekery', but it's seriously packed with fantastic resources, in-depth code examples and more photos of Bruce and Remy than you could possibly know what to do with.
The following is an excerpt taken from the back cover:
Suddenly, everyone's talking about HTML5, and ready or not, you need to get acquainted with this powerful new development in web and application design.
I first discovered the world of HTML5 after seeing Bruce present on it during the very early stages of the spec at FOWD 2009 and although in specification form (take that to read 'subject to change at a moments notice'), the early details coming out about HTML5 were interesting.
Some useful quick-win elements were available to instantly vamp up a site (audio and video player) and much more detailed options such as web message and sockets to create intricate messaging applications.
I still have yet to become a full-on HTML5 fan; I'm sure I will once I'm able to focus on it a little more, and certainly when it is supported by all browsers without complaint or error. I will say, however, that this book has been a fantastic resource to open my eyes to some of the details I wasn't aware of, and the amount of example code and detail you get is superb!
The subjects covered in each chapter are:
The opening chapter deals with the main structure of an HTML5 document, introducing the new doctype and some important structural elements, including the <nav>, <header>, <footer> and <article> tags.
The second chapter looks in a little more detail at the structure of an HTML5 document, and uses the incredibly useful example of building a blog using these elements. There is also a detailed look into the WAI-ARIA (W3C Web Accessibility Initiative's Accesible Rich Internet Applications suite) to assist in your understanding of accessibility for screen readers and other devices.
This chapter covers Forms and the new elements available in HTML5, which offers a lot of new attributes and functions, including specific input text types (email, time, month) and built-in available validation methods.
This chapter covers what I thought was one of the most impressive features of the HTML5 spec when I first saw it over a year ago during Bruce's presentation; Video and Audio. From embedding various supported codecs, to creating custom controls for playback, this chapter is packed full of the good stuff to get you embedding videos and audio into your sites.
The canvas element is another of the amazing features in HTML5; drawing capabilities alone, it's incredibly powerful. This chapter is packed full of examples to help you on your way with the canvas element, and includes more in-depth examples introducing animation and pixel manipulation. For some awesome HTML5 canvas action, make sure you check out Mr Doob's Harmony sketch page, also featured in the book. It's truly amazing.
This chapter covers the offline features available with HTML5; essentially, using the cache manifest to ensure un-interrupted 'service' when you lose or have no network connectivity. This is something I've written, presented on and blogged about when developing AIR applications, so it's something I was interested to see in HTML5.
User interaction has long been an important aspect of site design; making the user's visit to your site more memorable a getting them involved. Drag and Drop has long been a part of 'core' interaction frameworks, and as it turns out, it's also supported directly in HTML5, as shown in this chapter.
Geolocation is the topic of choice in chapter 9. Although nothing to do with HTML5, they deemed it so awesomely awesome that it was included in the book; and they're right, it does rock. Examples of the API usage are included to get you up and running.
Messages, workers and sockets are covered in the final chapter of the book. The examples and useful notes and highlights guide the reader through the different messaging APIs and their implementations. A very detailed chapter and the perfect way to end the publication.
I would highly recommend this book to anyone, and thank you to Bruce and Remy for writing this gem.
For 216 feature-rich pages, it's a superb book to have in your development arsenal.
Title: Introducing HTML5
Authors: Bruce Lawson and Remy Sharp
Published by New Riders