November 2011
Beginner
992 pages
38h
English
Though leaves are many, the root is one.
—William Butler Yeats
Most of us become parents long before we have stopped being children.
—Mignon McLaughlin
Sibling rivalry is inevitable. The only sure way to avoid it is to have one child.
—Nancy Samalin
Objectives
In this chapter you will:
• Use JavaScript and the W3C Document Object Model to create dynamic web pages.
• Learn the concept of DOM nodes and DOM trees.
• Traverse, edit and modify elements in an HTML5 document.
• Change CSS styles dynamically.
• Create JavaScript animations.
Outline
12.2 Modeling a Document: DOM Nodes and Trees
Read now
Unlock full access