Friday, July 25, 2008

<thead>,<tfoot> and <tbody>

<thead>
This tag must appear just after the table or caption tags.
You can use this tag to define a set of table header rows. The tr tags are placed within the thead element. This can potentially be used by browsers to include the heading row in every printed page or to keep the heading row static while scrolling. However, no browsers currently support this.
<tfoot>
This tag is used to define the footer of a table. It must appear before the tbody tag and can contain multiple rows.
<tbody>
A table can contain more than one set of tbody elements. Each instance of the tbody element contains a set of rows. You can use tbody to divide a table into sections. This helps in styling the sections (using CSS).

No comments: