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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.