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 - TABLE</title>
8<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLTableRowElement06.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
9<body onload="loadComplete()">
10<table align="center" summary="Table 1">
11<tr>
12<th>Id</th>
13<th>Name</th>
14<th>Position</th>
15<th>Salary</th>
16</tr>
17</table>
18<table id="table-1" align="center" border="4" bgcolor="#ff0000" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all" width="680">
19<caption align="top">Table Caption</caption>
20<thead align="center" valign="middle">
21<tr align="center" bgcolor="#00FFFF" valign="middle" char="*" charoff="1">
22<th id="header-1">Employee Id</th>
23<th id="header-2" abbr="maiden" axis="center" align="center" bgcolor="#00FFFF" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="100">Employee Name</th>
24<th>Position</th>
25<th>Salary</th>
26<th>Gender</th>
27<th>Address</th>
28</tr>
29</thead>
30<tfoot align="center" valign="middle">
31<tr>
32<th>next page ...</th>
33<th>next page ...</th>
34<th>next page ...</th>
35<th>next page ...</th>
36<th>next page ...</th>
37<th>next page ...</th>
38</tr>
39</tfoot>
40<tbody align="center" valign="middle">
41<tr>
42<td axis="center" id="Table-3" abbr="maiden2" align="center" bgcolor="#FF0000" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-2" valign="middle" width="175">EMP0001</td>
43<td headers="header-2">Margaret Martin</td>
44<td>Accountant</td>
45<td>56,000</td>
46<td>Female</td>
47<td>1230 North Ave. Dallas, Texas 98551</td>
48</tr>
49<tr>
50<td>EMP0002</td>
51<td>Martha Raynolds</td>
52<td>Secretary</td>
53<td>35,000</td>
54<td>Female</td>
55<td>1900 Dallas Road Dallas, Texas 98554</td>
56</tr>
57</tbody>
58</table>
59</body>
60</html>
61
62
63