I want to assign separate colors for each <td> . One solution is to use classes, but I don't want to interpret HTML if there is a simple CSS selector solution.
HTML:
<tr> <td>Item 1</td> <td>Item 2</td> <td>Item 3</td> <td>Item 4</td> </tr>
CSS:
{color: red} {color: blue} {color: green}
Don p source share