THEAD, TBODY ja TFOOT ei-käytössä

caption {border:2px solid #660033; background-color:#ffc;caption-side: bottom; width: auto; text-align: center }
th {border:3px solid #660033; background-color:yellow}
colgroup { border: 2px solid blue; text-align:center}  - " -  *#col3 { border: 2px solid olive;} *#col4 { border: 2px solid black;}
th:before { content: "$" } TD TD TD

Head1 Item 1 Item 2 Item 3
Head2 Item 4 Item 5 Item 6
Head3 Item 7 Item 8 Item 9

THEAD, TBODY ja TFOOT käytössä

caption {border:2px solid #660033; background-color:#ffc;caption-side: bottom; width: auto;text-align: center }
th {border:3px solid #660033; background-color:yellow}
colgroup { border: 2px solid blue; text-align:center}  - " -  *#col3 { border: 2px solid olive;} *#col4 { border: 2px solid black;}
th:before { content: "$" } TD TD TD

Head1 Item 1 Item 2 Item 3
Head2 Item 4 Item 5 Item 6
Head3 Item 7 Item 8 Item 9