Chapter 1. HTML5: from documents to applications
This chapter covers
The basics of using HTML5
New semantic markup and media features
New JavaScript APIs
Closely related web specifications
HTML5 is one of the hottest topics in web development, and with good reason. Not only is it the latest version of the markup language for the web, but it also defines a whole new standard for developing web applications. Previous iterations of HTML (and its rigid XML-based sibling, XHTML) have been centered primarily on the concept of HTML as a markup language for documents. HTML5 is the first version to embrace the web as a platform for web application development.
HTML5 defines a series of new elements that you can use to develop rich internet applications as well as a range of standard JavaScript APIs for browsers to implement natively. A good example of HTML5’s new elements is , which provides a means of playing video content in the browser without requiring an additional plug-in. HTML5 also provides the Media Element Interface that allows you to control video playback with JavaScript. It lets you create games, build mobile applications, and much more.
1.1. Exploring the markup: a whirlwind tour of HTML5
1.2. Beyond the markup: additional web standards
1.3. The HTML5 DOM APIs
1.4. Additional APIs and specifications
1.5. Summary