1<table>
2 <thead>
3 <tr>
4 <th> Name </th>
5 <th> Qty </th>
6 <th> Unit Price </th>
7 <th> Cost </th>
8 </tr>
9 </thead>
10 <tbody>
11 <tr>
12 <td> Pencil </td>
13 <td> 2 </td>
14 <td> 2.50 </td>
15 <td> 5.00 </td>
16 </tr>
17 <tr>
18 <td> Pen </td>
19 <td> 4 </td>
20 <td> 3.50 </td>
21 <td> 14.00 </td>
22 </tr>
23 </tbody>
24 <tfoot>
25 <tr>
26 <td colspan = "3"> Total </td>
27 <td> 19.00 </td>
28 </tr>
29 </tfoot>
30</table>