Change Font Size:

DOM structure

HTML tags, all in a DOM nodes, and these nodes of the overall structure of the DOM - node tree.

This section notes reference guide:

DOM structure and the structure of genealogical very similar.

DOM_ genealogical

This structure will be called the "tree node." For example, the following HTML:

  <html> <head> <title> HTML DOM </ title> </ head> <body> <h1> DOM structure </ h1> <p> <a href="href" /> links </ a> </ p> </ body> 
</ Html>

The DOM is structured as follows:

DOM node tree

Node

Node tree

The concept of tree nodes from the map at a glance, the above is the "roots". Node between father and son relationship, ancestors and descendants, siblings relations. These relations are very good from the map seen, is the direct connection between a father and son. The father is a brother and sister relationship...


  1. On one: DOM What can be done?
  2. DOM structure
  3. The following section: Visit DOM Node 1 - getElementById ()