show-notice
hide-notice

Friday 9 August 2013

HTML tbody Tag


Introduction:

The HTML <tbody> tag is used for grouping table rows.

Example:

<html>
<head>
<title>HTML tbody Tag</title>
</head>
<body>
<table border = "1">
<thead>
     <TR> <td colspan="2">Table Header (thead)</td></tr>
</thead>
<tfoot>
     <TR> <td colspan="2">Table Footer (tfoot)</td></tr>
</tfoot>
<tbody>
<tr>
<td>Cell 1 - part of tbody</td>
<td>Cell 2 - part of tbody</td>
</tr>
<tr>
<td>Cell 3 - part of tbody</td>
<td>Cell 4 - part of tbody</td>
</tr>
<tr>
<td>Cell 5 - part of tbody</td>
<td>Cell 6 - part of tbody</td>
</tr>
</tbody>
</table>

</body>
</html>

SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com