<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "xhtml1-transitional.dtd"> <html xmlns='http://www.w3.org/1999/xhtml'> <head> <title>NIST DOM HTML Test - TABLECOL</title> <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLTableColElement01.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head> <body onload="loadComplete()"> <table summary="Table 1"> <colgroup valign="middle" span="2" align="center" width="20" char="$" charoff="15"> <col valign="middle" span="1" align="center" width="20" char="*" charoff="20"/> </colgroup> <tr> <th>Id</th> <th>Name</th> <th>Position</th> <th>Salary</th> </tr> <tr> <td>EMP0001</td> <td>Martin</td> <td>Accountant</td> <td>56,000</td> </tr> </table> </body> </html>