html Table thead tfoot tbody

<table>
	<thead>
		<tr>
			<td>Example Column Header</td>
			<td>Example Column Header</td>
			<td>Example Column Header</td>
			<td>Example Column Header</td>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<td colspan="4">Example Footer</td>
		</tr>
	</tfoot>
	<tbody>
		<tr>
			<td>Example Data</td>
			<td>Example Data</td>
			<td>Example Data</td>
			<td>Example Data</td>
		</tr>
	</tbody>
</table>
Example valid usage of Table with thead, tfoot and tbody elements, used for grouping the header/footer/body row(s) of a table. Put tfoot before tbody, to ensure the header/footer loads first, whilst the data rows are loaded.

Updated: Friday 27th May 2011, 05:39am

There are 0 comments

Leave a comment of your own

Comments are currently closed.