HTML 4.0 Logo Reader Icon OEB 1.0 Logo <table> Table

This tag creates a table, which must be filled using the <td>, <th>, and <tr> tags. This tag is only supported in Version 1.5 of the Reader; it is not supported for the Pocket PC version.

Note that <tbody>, <thead> and <tfoot> (table body, table header, and table footer) are not available for use with OEB-compliant books. They are ignored when HTML files are converted to the Reader format.

Attributes

align, bgcolor, border, cellpadding, cellspacing, class, id, lang, style, summary (ignored), title (ignored), width

Sample

Table Sample diagram

Sample Code

<table border="1" cellpadding="4">
<caption> <b><i>Horse Exercise for the Week</i></b> </caption>
 <tbody>
 <tr> <th rowspan="2"></th>
  <th colspan="2" align="center">Exercise</th> </tr>
 <tr> <th align="center">Turnout</th>
  <th align="center">Other</th> </tr>
 <tr> <th>Monday</th>
  <td align="center" bgcolor="olive">Yes</td>
  <td>Day Off</td></tr>
 <tr> <th>Tuesday</th>
  <td align="center" bgcolor="olive">Yes</td>
  <td bgcolor="red">Ride</td> </tr>
 <tr> <th>Wednesday</th>
  <td align="center" bgcolor="olive">Yes</td>
  <td bgcolor="yellow">Lunge</td> </tr>
 <tr> <th>Thursday</th>
  <td align="center" bgcolor="olive">Yes</td>
  <td bgcolor="red">Ride</td> </tr>
 <tr> <th>Friday</th>
  <td align="center" bgcolor="olive">Yes</td>
  <td bgcolor="red">Ride</td> </tr>
 <tr> <th>Saturday</th>
  <td align="center" bgcolor="gray">No</td>
  <td bgcolor="green">Trail</td> </tr>
 <tr> <th>Sunday</th>
  <td align="center" bgcolor="gray">No</td>
  <td bgcolor="purple">Lesson</td> </tr>
 </tbody></table>

© 2000 Microsoft Corporation. All rights reserved. Terms of use.