O'Reilly logo

Learning JavaScript: A Hands-On Guide to the Fundamentals of Modern JavaScript by Tim Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11. HTML5 JavaScript APIs

This chapter begins our exploration into HTML5 and its accompanying JavaScript APIs. It’s not uncommon to hear the term “HTML5” and immediately jump to the typical structure-based mind-set that has been associated with HTML thus far. Certainly no one would blame you for immediately thinking like that, especially now that you have knowledge of progressive enhancement, but a lot of features that shipped with HTML5 are not solely targeted at building an HTML document. A whole slew of JavaScript APIs were built with the intention of tying into the new elements, and even some that live independently from the DOM.

The official W3C specification for HTML5 has gone through so many revisions that it’s hard to keep up with which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required