×
×
Correct!
Set the background color of <th> elements to "lightblue".
<style>
table, th, td {
border: 1px solid green;
}
th {
background-color: lightblue;
}
</style>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>Peter</td>
<td>Griffin</td>
</tr>
<tr>
<td>Lois</td>
<td>Griffin</td>
</tr>
</table>
Not CorrectClick here to try again. Correct!<style> table, th, td { border: 1px solid green; }{ : lightblue; } </style> <table> <tr> <th>Firstname</th> <th>Lastname</th> </tr> <tr> <td>Peter</td> <td>Griffin</td> </tr> <tr> <td>Lois</td> <td>Griffin</td> </tr> </table> |