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