Semantic way to create HTML footers in tbody? -
i building html money table. meant display payments , income every year, month, week , day. rows grouped month using <tbody>
tags each month in last row of tbody contains total summary of month:
<table id="paymenthistoryoverview" class="data money"> <colgroup> <col class="date"> <col class="description"> <col class="money"> </colgroup> <thead> <tr> <th>date</th> <th>description</th> <th>amount</th> </tr> </thead> <tbody> <tr><th colspan="3">january 2013</th> <tr> <td>2013-04-05</td> <td>salary</td> <td>100.00</td> </tr> <tr> <td>2013-04-08</td> <td>rent</td> <td>-80.00</td> </tr> <tr> <td>summary january</td> <td>&euro 20.00</td> </tr> </tbody> </table>
as can see every month contains sort of header , footer. there way semantically describe give value? if isn't, <strong>
in each summary cell valid semantic solution?
you place each month in own <tbody>
give semantic grouping. this well-liked post says valid so.
Comments
Post a Comment