7. What is the DOM?
The Document Object Model is an object representation of a document that scripts and browser APIs can interact with. The browser parses HTML and creates a tree of nodes representing the document.
Key Takeaways
The DOM represents document structure.
JavaScript commonly interacts with the DOM.
Knowledge Check
What does the DOM represent?