Meeting the DOM
Explore how the HTML Document Object Model (DOM) represents a webpage as a tree of objects, enabling JavaScript to access, alter, add, or remove HTML elements, attributes, and styles. Understand the basics of dynamic HTML manipulation and how the DOM standard underlies interactive web development.
We'll cover the following...
We'll cover the following...
The HTML DOM (Document Object Model)
When we request a web page, the browser creates a Document Object Model of the page while loading the webpage.
A tree of Objects makes up the HTML DOM model as follows:
The ...