Example - Table #1
Here's a very simple table:
Table #1
| Billy |
Joe |
Jim |
Bob |
| 65 |
95 |
99 |
87 |
<table border>
<caption> Table #1 </caption>
<tr>
<th> Billy </th>
<th> Joe </th>
<th> Jim </th>
<th> Bob </th>
</tr>
<tr>
<td> 65 </td>
<td> 95 </td>
<td> 99 </td>
<td> 87 </td>
</tr>
</table>
Notes:
- The table is displayed with a border if the attribute border is
present in the table tag.
- The caption may appear anywhere within the TABLE definition, but
for clarity, it should be the first statement in the table.
- td cells default to being left justified text.
- th cells default to being center justified bold text.
[Back] [Forward]