Gregory M. Kapfhammer
Course Web Site
Details in the Textbook
A DOM tree is a set of nodes
It stores data elements hierarchically
It contains a root DOM node
The nodes have a parent-child relationship
It represents an entire HTML document
What does this look like in memory?
Family manipulation methods
Why do we need these methods?
What are the benefits of these methods?
Change an element's style
Change an element's content
Create new DOM elements
What are the benefits of this approach?
Sense and respond to an event