3 <script type=
"text/javascript">
6 table
= document
.createElement("table");
7 document
.body
.appendChild(table
);
8 row
= table
.insertRow(0);
9 row
.insertCell(0).appendChild(document
.createTextNode("row 1"));
10 row
= table
.insertRow(1);
11 row
.insertCell(0).appendChild(document
.createTextNode("row 2"));
12 row
= table
.insertRow(2);
13 row
.insertCell(0).appendChild(document
.createTextNode("row 3"));
17 <body onLoad=
"showBug();">
18 <p>You should see three rows below labeled
"row 1",
"row 2",
"row 3", from top to bottom.
</p>