HTML and CSS Reference
In-Depth Information
explOring the nOde tree
The
nextSibling
property
returns the ne
x
t sibling node
of the specifie
d
node.
The
firstChild
property
returns the fi
r
st child of
the specified
n
ode.
The
appe
n
dChild()
method ap
p
ends the
specified node to a
parent node.
The
create
E
lement()
method creates an
element node with the
specified tag name.