Let table be able to separate different colors?

want to explain how to make table different colors?
is not different.
is

.
<table>
        <tr>
          <td width="100">a</td>
          <td><a></td>
        </tr>
        <tr>
          <td>b</td>
          <td><b></td>
        </tr>
        <tr>
          <td>c</td>
          <td><c></td>
        </tr>
        <tr>
          <td>d</td>
          <td><d></td>
        </tr>
        <tr>
          <td>e</td>
          <td><e></td>
        </tr>
      </table>

suppose so

b, d. Background is-sharpeee
arguments are all-sharpeee

Feb.26,2021

css

  

tr:nth-child (odd) {
/ / singular
}
tr:nth-child (even) {
background-color:-sharpeee;
}

Menu