Interacting with the Document Object Model
To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.
The Document Object Model (DOM) separates the different parts of an HTML document into a hierarchy of objects, each one having its own properties. The term property is used for referring to an attribute of an object such as the HTML it contains, its width and height, and so on.
The outermost object possible is the window object, which is the current browser window, tab, iframe, or popped-up window. ...
Get JavaScript: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.