P A R T  IV

Working with the DOM

The Domain Object Model (DOM) allows you to use JavaScript to explore and manipulate the contents of an HTML document. It is an essential set of features for creating rich content. In the chapters that follow, I'll show you how to gain access to the DOM, how to find and change JavaScript objects that represent elements in the document, and how to respond to user interactions using events.

Get The Definitive Guide to HTML5 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.