1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html 3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 "xhtml1-transitional.dtd"> 5 <html xmlns='http://www.w3.org/1999/xhtml'> 6 <head> 7 <title>NIST DOM HTML Test - TABLECOL</title> 8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLTableColElement04.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> 9 <body onload="loadComplete()"> 10 <table summary="Table 1"> 11 <colgroup valign="middle" span="2" align="center" width="20" char="$" charoff="15"> 12 <col valign="middle" span="1" align="center" width="20" char="*" charoff="20"/> 13 </colgroup> 14 <tr> 15 <th>Id</th> 16 <th>Name</th> 17 <th>Position</th> 18 <th>Salary</th> 19 </tr> 20 <tr> 21 <td>EMP0001</td> 22 <td>Martin</td> 23 <td>Accountant</td> 24 <td>56,000</td> 25 </tr> 26 </table> 27 </body> 28 </html> 29 30