Building TablesListing 7-18. A table including a colgroup and two col elements
| Utility Belts | 9 |
|---|
You may define multiple column groupings in your table if the size of the data set and organization of the
table warrants. Listing 7-19 shows an example of a complex table with multiple colgroup elements.
Listing 7-19. A complex data table including multiple colgroup elements
| Product | Quantity | Price | ||
|---|---|---|---|---|
| New | Used | New | Used | |
| Utility Belts | 9 | 27 | 6 | 23 |