Chapter 5. Browser-based APIs

 

This chapter covers
  • Directly editing page content with contentEditable
  • Simulating desktop-like interactions with the drag-and-drop API
  • Convenient access to semantic metadata with the microdata API
  • How to not break the Back button with the history API
  • Keeping web apps responsive with web workers

 

This chapter looks at HTML5 application programming interfaces (APIs) that work “in browser”—that is, APIs that work directly with loaded web pages rather than accessing the network or web and relying on server functionality.

 

What is an HTML5 API?

The HTML5 spec is ground-breaking in many ways, but one of the key ...

Get Hello! HTML5 & CSS3: A user-friendly reference guide now with O’Reilly online learning.

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