The <TBODY> tag defines the body elements of a table. It is used in conjunction with the <THEAD> and <TFOOT> tags. This allows the browser to understand the table layout so that more advanced scrolling and smarter printing can be performed. For example, if the body of a table is too long for the page when printed, the header and footer can be repeated on the next page.
I would not recommend using this tag as browser support appears weak or nonexistent.
| align=alignment | |||||||||
Defines the horizontal alignment of the data within
the cell.
|
|||||||||
class=class |
|||||||||
Indicates that the text is to be formatted using the specified class. |
|||||||||
| dir=direction | |||||||||
Indicates the direction (right or left) that the text is to be displayed. Useful for languages which display left to right. |
|||||||||
event=JavaScript |
|||||||||
| When event occurs, execute the specified JavaScript. | |||||||||
id = "name" |
|||||||||
You can give a text a name, which allows it to be referenced and changed in a script (dynamic HTML). |
|||||||||
| lang="lang" | |||||||||
| Indicates the language of the text within the text. | |||||||||
style="style" |
|||||||||
Defines the style in which the text will be displayed. This overrides any style elements at an "outer" level, such as from the BODY or the Cascading Style Sheet. |
|||||||||
title="title" |
|||||||||
You can give a text a title if you want. This provides some additional information about the text. I'm not sure why you would want to do this, but you could. |
|||||||||
| valign=n | |||||||||
Specifies the vertical alignment of the data within
the cells.
|
|||||||||
<table border="1" width="40">
<thead>
<tr>
<td>H1</td>
<td>H2</td>
</tr>
</thead>
<tfoot>
<tr>
<td>F1</td>
<td>F2</td>
</tr>
</tfoot>
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
<tbody>
</table>
|
H1 H2 F1 F2
Unless otherwise noted, all photos and text is Copyright © Richard G Lowe, Jr.