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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access