O'Reilly logo

The Definitive Guide to HTML5 by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required