Style for table footer : table footer : Table Style HTML CSS TUTORIALS


HTML CSS TUTORIALS » Table Style » table footer »

 

Style for table footer


 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title></title>
<style type="text/css" media="Screen">
table.example1 tfoot {
  background: red;
  color: white;
}

</style>
</head>
<body>
<h2>Row Groups</h2> 

<table class="example1"
    <thead> <tr> <th>thead</th> <th></th> <th></th> <th></th> </tr> </thead> 
    <tfoot> <tr> <th>tfoot</th> <td>10</td> <td>11</td> <td>12</td> </tr> </tfoot> 
    <tbody> <tr> <th>tbody</th> <td></td> <td></td> <td></td> </tr> </tbody> 

</table> 



</body>
</html>

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo Table Style
» table footer