SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 202 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

1 (in
which the text nodes have been omitted for clarity).
Figure 6.1: The DOM tree
Each object in the DOM tree is called a node. There are several types of nodes,
including element nodes and text nodes. At the top of the tree is a document node,
which contains an element node called the root node; this is always the html element
in HTML and XHTML documents, and it branches into two child element
nodes??”head and body??”which then branch into other children.
A child node is structurally subordinate to its parent node. In HTML terms, this
means that the child??™s tags are nested inside the tags of the parent. For example, we
can see in Figure 6.1 that the h1 element is a child node of the body element and
the body element is the parent node of the h1 element. A node can be called a
141 CSS Layout and Formatting
descendant node if it??™s a child, grandchild, and so on, of another node. A node can
be called an ancestor node if it??™s a parent, grandparent, and so on, of another node.


Pages:
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6