HTML and CSS Reference
In-Depth Information
2. <caption>Design and Front-End Development Books</caption>
3. <thead>
4. <tr>
5. <th scope="col" colspan="2" >Item</th>
6. <th scope="col">Qty</th>
7. <th scope="col">Price</th>
8. </tr>
9. </thead>
10. <tbody>
11. <tr>
12. <td>Don&#8217;t Make Me Think by Steve Krug</td>
13. <td>In Stock</td>
14. <td>1</td>
15. <td>$30.02</td>
16. </tr>
17. ...
18. </tbody>
19. <tfoot>
20. <tr>
21. <td colspan="3" >Subtotal</td>
22. <td>$135.36</td>
23. </tr>
24. <tr>
25. <td colspan="3" >Tax</td>
26. <td>$13.54</td>
27. </tr>
28. <tr>
29. <td colspan="3" >Total</td>
30. <td>$148.90</td>
31. </tr>
32. </tfoot>
33. </table>
Figure 11.5 A table of books that contains a couple of cells that span multiple columns
or rows
Search WWH ::




Custom Search