Simple Document Object Model (DOM) family tree hierarchy example.
A web document consists of nodes in a family tree hierarchy.
The top level node is 'document', the root element is '<html>'.
The '<html>' node is the child of the 'document' node and is the parent of the '<head>' and '<body>' nodes.
The '<head>' node is the first child of the '<html>' node and a sibling of the '<body>' node. And so on...
Back to JavaScript: DOM

Back to top.
Copyright © 2006-2010 justfigures.co.uk
