1<html xmlns="http://www.w3.org/1999/xhtml"> 2<head> 3 4<script> 5 6function boom() 7{ 8 document.getElementById('A').setAttribute('colspan', 0); 9 document.getElementById('B').setAttribute('rowspan', 3); 10} 11 12</script> 13 14</head> 15 16<body onload="boom();"> 17 18<table> 19 <tr> 20 <td id="A">TD</td> 21 <td id="B" colspan="3">TD</td> 22 </tr> 23</table> 24 25</body> 26</html> 27