What you have are table headers. Firstly, if you want a table cell, use the <td>
tag. You do not have to use table > tr > td
. If you want to color specific cells, use a class to identify them:
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<style>
.cells {
color: red;
}
</style>
</head>
<body>
<table>
<tr>
<td class="cells">a</td>
<td class="cells">b</td>
</tr>
</table>
</body>
</html>
If not, just use the tag:
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<style>
td {
color: red;
}
</style>
</head>
<body>
<table>
<tr>
<td>a</td>
<td>b</td>
</tr>
</table>
</body>
</html>
I hope this is what you wanted.
`, which, aside from the DOCTYPE and title, [is also valid HTML](https://checker.html5.org/?showsource=yes&doc=data%3Atext%2Fhtml%3Bcharset%3Dutf-8%2C%3C%21DOCTYPE+html%3E%250A%3Chtml%3E%250A%3Ctitle%3Ebody+%3E+p%3C%2Ftitle%3E%250A%3Cp%3E%3C%2Fhtml%3E)?
– BoltClock Mar 10 '18 at 16:32