The document tree - Ancestor

An ancestor refers to any element that is connected but further up the document tree - no matter how many levels higher. In the diagram below, the <body> element is the ancestor of all other elements on the page.

Document tree diagram showing ancestor

Descendant »

Other Max Design articles and presentations
Associated with webstandardsgroup.org