Book description
The Document Object Model is the tree-like data structure that represents a web browser’s model of a web page. This lesson introduces the DOM, some DOM-specific terminology, and shows you how to use JavaScript to query, manipulate, and create DOM elements.
Why is it important?
Any use of JavaScript to manipulate pages requires understanding the DOM and the techniques available to accomplish common tasks, such as selecting specific elements or modifying the content of elements.
What you’ll learn—and how you can apply it
Learn what the Document Object Model is and how to use JavaScript to select, manipulate, and create DOM elements.
This lesson is for you because…
- You’re a web designer or new frontend developer who needs to understand how to manipulate web pages dynamically with JavaScript
Prerequisites
- Basic familiarity with HTML and JavaScript
Materials or downloads needed in advance
- None
Publisher resources
Product information
- Title: Working with the DOM
- Author(s):
- Release date: August 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491966341
You might also like
book
HTML5 Quick Markup Reference
This book is a condensed reference for HTML5 markup. It presents the essential HTML5 elements and …
video
Learn DOM Manipulation with Easy Modern JavaScript
The Document Object Model (DOM) is the data representation of the objects that comprise the structure …
book
DOM Enlightenment
With DOM Enlightenment, you’ll learn how to manipulate HTML more efficiently by scripting the Document Object …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …