Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
382
The <tbody> Tag (XHTML Reference)
Introduction
The <tbody> tag is used to define the body of a table.
In that part you can declare the table data part. The <tbody> tag is not
necessary; if you do not use it your table body will still appear. The
<tbody> is only an indication that the table body has started. The body
can include <th> rows and <td> data. If you decide to use the
<tbody> tag then you have to use also the <thead> and <tfoot>
tags.
Example
<table border="1">
<thead>
<tr>
<th>User</th>
<th>EMail</th>
<th>Permission</th>
</tr>
</thead>
<tbody>
<tr>
<td>Sonu</td>
<td>sonu@XXXX.com</td>
<td>Admin</td>
</tr>
<tr>
<td>Mark</td>
<td>Mark@XXXX.com</td>
<td>Admin</td>
</tr>
</tbody>
<tfoot>
<tr>
<td
colspan="3"><b>2 Users found</b></td>
</tr>
<tr>
</tfoot>
</table>
Output
Attributes
Name:
Description:
align
Aligns the table with one of the following options.
left
right
center
char
This attribute can be only used if you set the align
attribute to char. The usage of the attribute is to set the alignment
character. This can be very useful if you have a table row with decimal
numbers and would like to align the row according to the decimal point.
charoff
Defines in conjunction with the “align” attribute the
position of the alignment character.
valign
Aligns the column vertically with one of the following
options.
top