1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
9 var table
= document
.getElementById("table");
11 table
.insertBefore(document
.createElement("thead"), document
.getElementById("A"));
13 var tb2
= document
.createElement("tfoot");
14 var tr1
= document
.createElement("tr");
16 table
.appendChild(tb2
);
18 var tr
= document
.createElement("tr");
19 var td
= document
.createElement("td");
20 td
.appendChild(document
.createTextNode("td"));
21 td
.setAttribute("rowspan", 0);
23 document
.getElementById("B").appendChild(tr
);
28 <body onload=
"boom();">
31 <tfoot id=
"A"><tr><td>td
</td></tr></tfoot>
32 <tfoot id=
"B"><tr><td>td
</td></tr></tfoot>