tfoot ikke xhtml valid
Kan nogen fortælle hvad der er galt med nedenstående html tabel...Den melder fejl
document type does not allow element "tfoot" here
ifølge validator.w3.org
<table border='2' rules='groups'>
<thead>
<tr> <th>Name</th> <th>Food</th> <th>Price</th> </tr>
</thead>
<tbody>
<tr> <td>Starflower</td> <td>stir fied tofu</td> <td>5.95</td> </tr>
<tr> <td>Miko</td> <td>vegetable rice soup</td> <td>4.95</td> </tr>
<tr> <td>Andy</td> <td>hummus</td> <td>3.95</td> </tr>
<tr> <td>Ping</td> <td>french toast</td> <td>5.95</td> </tr>
</tbody>
<tfoot>
<tr> <th colspan='2'>Total</th>
<td>20.80</td> </tr>
</tfoot>
</table>
og jeg bruger denne doctype
<!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">