Table tags
<thead>
Wrap table rows in <thead></thead>. This is how the table title is formed.
<tfoot>
Wrapping the rows in <tfoot></tfoot> we form the final rows at the bottom of the table. The <tfoot> rows must be defined before the <tbody> rows, so the resulting rows are printed before the rest of the table rows.
<tbody>
We wrap data lines in <tbody></tbody>.
Example structure
<table> <thead> <tr> <td>Item</td> <td>Qty</td> </tr> </thead> <tfoot> <tr> <td>Amount</td> <td>7</td> </tr> </tfoot> <tbody> <tr> <td>#1</td> <td>3</td> </tr> <tr> <td>#2</td> <td>4</td> </tr> </tbody> </table>