'tbody' Example : tbody « Tags « HTML / CSS






'tbody' Example

 
    
<html>
<head>
<title>tbody element example</title>
</head>
<body>
<table width="500" align="center">
    <thead style="color:blue" align="center">
        <td>This cell is in the thead rows group.</td>
        <td>This cell is in the thead rows group.</td>
        <td>This cell is in the thead rows group.</td>
    </thead>
    <tbody>
        <tr>
           <td>This cell is in the tbody rows group.</td>
           <td>This cell is in the tbody rows group.</td>
           <td>This cell is in the tbody rows group.</td>
        </tr>
        <tr>
           <td>This cell is in the tbody rows group.</td>
           <td>This cell is in the tbody rows group.</td>
           <td>This cell is in the tbody rows group.</td>
        </tr>
    </tbody>
    <tfoot style="color:red" align="right">
        <td>This cell is in the tfoot rows group.</td>
        <td>This cell is in the tfoot rows group.</td>
        <td>This cell is in the tfoot rows group.</td>
    </tfoot>
</table>
</body>
</html>
    
      
        
  








Related examples in the same category

1.Using tbody to wrap table body