HTML5 Up and Running by Mark Pilgrim
To answer the problem of how differently browsers support new HTML standards, the author suggest the web developer test support for each HTML5 feature used on the website. He discusses four techniques for testing. Next, he walks through each tag on a generic HTML5 webpage, including the new HTML5 elements such as section, article, header, footer and more. As you progress through the book, Pilgrim points out potential problems you may encounter with Internet Explorer.
Moving forward, Pilgrim introduces the HTML5 Canvas drawing API. He uses a simple Halma 9-piece game to demonstrate how the Canvas feature works. He moves on to the new video and audio tags that eliminate the need for plugins. He covers several methods for encoding video including Firefogg, HandBrake and ffmpeg. He demonstrates a WebM sample and then discusses the Geolocation API to display the user's geolocation on a map.
Pilgrim returns to the Halma game to demonstrate local storage and offline applications, new HTML5 features. Pilgrim discusses how the web developer can use local storage to save key/value data pairs on the client's browser and how adding a manifest file to a website can be used for saving and updating the state for offline applications.
Next, Pilgrim discusses the new HTML5 form input tags such as placeholder text and spinboxes. He covers the code for each and their uses. The final chapter covers how to use the new HTML5 microdata feature for browsers and search engines.
Mark Pilgrim works for Google and specializes in open source and open standards. You can learn more about the author and this book at https://diveintohtml5.org.
View the book on the O'Reilly website
*O'Reilly provided a review copy to me free of charge.
Editor's Picks Articles
Top Ten Articles
Content copyright © 2019 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact Diane Cipollo for details.