learn2kode.in
<colgroup> is used to style columns instead of styling each cell.
<colgroup>
<table border="1"> <colgroup> <col span="1" style="background-color: #ffe0e0;"> <col span="1" style="background-color: #e0ffe0;"> </colgroup> <tr> <th>Name</th> <th>Score</th> </tr> <tr> <td>Alice</td> <td>90</td> </tr> </table>