Home | History | Annotate | Download | only in html
      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 - TABLECELL</title>
      8 <script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='table22.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
      9 <body onload="loadComplete()">
     10 <table summary="Table 1">
     11 <tr>
     12 <th id="header-1">Employee Id</th>
     13 <th id="header-2" abbr="hd1" axis="center" align="center" bgcolor="#00FFFF" char=":" charoff="1" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-1" valign="middle" width="170">Employee Name</th>
     14 <th>Position</th>
     15 <th>Salary</th>
     16 </tr>
     17 <tr>
     18 <td id="header-3">EMP0001</td>
     19 <td id="header-4" abbr="hd2" axis="center" align="center" bgcolor="#FF0000" char=":" charoff="1" colspan="1" height="50" nowrap="nowrap" rowspan="1" scope="col" headers="header-3" valign="middle" width="175">Margaret Martin</td>
     20 <td>Accountant</td>
     21 <td>56,000</td>
     22 </tr>
     23 </table>
     24 </body>
     25 </html>
     26 
     27