<table>
<tr> <th>
<tr> <td>
</table>
border=valuecellspacing=valuecellpadding=valuewidth=value|percentThe most compact table possible would have border, cellspacing and cellpadding all set to zero.
<table border=10 cellpadding=10 cellspacing=10 width=75%>
<tr><th>ONE<th>TWO<th>THREE
<tr><th>FOUR<th>FIVE<th>SIX
</table>
| ONE | TWO | THREE |
|---|---|---|
| FOUR | FIVE | SIX |
<tr> table rowalign=left|center|rightvalign=top|middle|bottom|baseline vertical align<td> table data<tr>, to describe a specific data cell's look.
width=value|percentcolspan=valuerowspan=valuenowrap<th> table heading<td>,
except that the contents are usually displayed bold and centered. It can make use of all the attributes available to <tr> and <td>.
Strictly speaking, the contents of a data cell should be closed with a </td> tag. However this is only really necessary when nesting tables (putting a table within a table).
<caption>
An element used within the <table> tags (but not within a row) to include a title for your table.
align=top|bottom
Used to specify whether your caption appears at the top or bottom of the table.
<center>
<table border>
<caption align=bottom>
Gender Comparison
</caption>
<tr><td><th rowspan=2><th colspan=2>Average
<tr><td><th>Height<th>Weight
<tr><th rowspan=2>Gender<th>Males<td>1.9<td>0.003
<tr><th>Females<td>1.7<td>0.002
</table>
</center>
Average
Height Weight
Gender Males 1.9 0.003
Females 1.7 0.002