BG Color of Table Cell


To change your background color of Table Cell in your html file you can use the codes are given below.Open your notepad program and write the codes.

<html>
<body>

<table style="background-color:#FFFFE0;">
<tr style="background-color:#BDB76B;color:#ffffff;">
<th>Table Header</th><th>Table Header</th>
</tr>
<tr>
<td>Table cell 1</td><td>Table cell 2</td>
</tr>
<tr>
<td>Table cell 3</td><td style="background-color:#ff0000;">Table cell 4</td>
</tr>
</table>



</body


















>
<

/html>

Open the html file and see the result.
See BG Color of Table

R












































































ow
Se


e



















BG Color of whole Table