Object models
The Document Object Model (DOM) allows scripts and applications to access and update the content, structure, and style of a document by formally naming each part of the document, its attributes, and how that object may be manipulated. In the beginning, each major browser had its own DOM, making it difficult to create interactive effects for all browsers.
- Document Object Model (DOM) Level 1 (Core)
This version covers core HTML and XML documents as well as document navigation and manipulation. The DOM Level 1 Specification can be found at http://w3c.org/TR/REC-DOM-Level-1/.
- DOM Level 2
Level 2 includes a style sheet object model, making it possible to manipulate style information. Links to the core and other modules of the DOM Level 2 Specification are available at http://www.w3.org/DOM/DOMTR.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access