Appendix B. HTML5 API reference

In this appendix, you’ll find numerous references that give you a quick overview of various HTML5 and related APIs. We’ve compiled lists of methods, attributes, and events that should make it easy for you to look up how to use API information when you need it.

The material is broken down into three sections:

  • The HTML5 APIs
  • Other APIs and specifications, which cover Geolocation and IndexedDB
  • The File System API

We begin with the HTML5 APIs.


In this section, we cover what you need to know for the

  • Constraint Validation API
  • API for offline web applications
  • Editing API
  • Drag and Drop API
  • Microdata API
  • APIs for Web Storage
  • Media Element API

B.1.1. Constraint Validation API

The Constraint ...

Get HTML5 in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.