|
|
<html>
node has two child nodes: <head>
and <body>
.
<head>
node has one child node: the <title>
node.
<title>
node also has one child node: the text node “DOM Tutorial.”
<h1>
and <p>
nodes are siblings, and both child nodes of <body>
.
<head>
element is the first child of the <html>
element, and the <body>
element is the last child of the <html>
element.
<h1>
element is the first child of the <body>
element, and the <p>
element is the last child of the <body>
element.
My girlfriend told me she was leaving me because I keep pretending to be a Transformer. I said, “No, wait! I can change.” |