Home | History | Annotate | Download | only in html
      1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      2 <HTML>
      3 <HEAD>
      4 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
      5 <TITLE>NIST DOM HTML Test - TABLE</TITLE>
      6 <script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLTableElement28.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
      7 <BODY onload="loadComplete()">
      8 <TABLE ALIGN="center" SUMMARY="Table 1">
      9 <TR>
     10 <TH>Id</TH>
     11 <TH>Name</TH>
     12 <TH>Position</TH>
     13 <TH>Salary</TH>
     14 </TR>
     15 </TABLE>
     16 <TABLE ID="table-1" ALIGN="center" BORDER="4" BGCOLOR="#ff0000" FRAME="border" CELLPADDING="2" CELLSPACING="2" SUMMARY="HTML Control Table" RULES="all" WIDTH="680">
     17 <CAPTION ALIGN="top">Table Caption</CAPTION>
     18 <THEAD ALIGN="center" VALIGN="middle">
     19 <TR ALIGN="center" BGCOLOR="#00FFFF" VALIGN="middle">
     20 <TH ID="header-1">Employee Id</TH>
     21 <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>
     22 <TH>Position</TH>
     23 <TH>Salary</TH>
     24 <TH>Gender</TH>
     25 <TH>Address</TH>
     26 </TR>
     27 </THEAD>
     28 <TFOOT ALIGN="center" VALIGN="middle">
     29 <TR>
     30 <TH>next page ...</TH>
     31 <TH>next page ...</TH>
     32 <TH>next page ...</TH>
     33 <TH>next page ...</TH>
     34 <TH>next page ...</TH>
     35 <TH>next page ...</TH>
     36 </TR>
     37 </TFOOT>
     38 <TBODY ALIGN="center" VALIGN="middle">
     39 <TR>
     40 <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>
     41 <TD HEADERS="header-2">Margaret Martin</TD>
     42 <TD>Accountant</TD>
     43 <TD>56,000</TD>
     44 <TD>Female</TD>
     45 <TD>1230 North Ave. Dallas, Texas 98551</TD>
     46 </TR>
     47 <TR>
     48 <TD>EMP0002</TD>
     49 <TD>Martha Raynolds</TD>
     50 <TD>Secretary</TD>
     51 <TD>35,000</TD>
     52 <TD>Female</TD>
     53 <TD>1900 Dallas Road Dallas, Texas 98554</TD>
     54 </TR>
     55 </TBODY>
     56 </TABLE>
     57 <TABLE SUMMARY="Table 3">
     58 <TBODY>
     59 <TR>
     60 <TD>
     61 </TD>
     62 </TR>
     63 </TBODY>
     64 <TBODY>
     65 <TR>
     66 <TD>
     67 </TD>
     68 </TR>
     69 </TBODY>
     70 <TBODY>
     71 <TR>
     72 <TD>
     73 </TD>
     74 </TR>
     75 </TBODY>
     76 </TABLE>
     77 </BODY>
     78 </HTML>
     79