Hello,
Just Check the nth Child in odd and even rowwise
<style>
tr:nth-child(odd) {
background: #ff0000;
}
tr:nth-child(even) {
background: #dddd21;
}
</style>
<table>
<tr>
<td > Hi i am in first row first column </td>
</tr>
<tr>
<td > Hi i am in second row first column </td>
</tr>
</table>