+ 4

Html

<table border="2"> <tr> <td bgcolor="red">Red</td> <!-- if bg is for background color,why isn't tcolor changingthe blue color below? --> <td tccolor="blue">Blue</td> <td>Green</td> </tr> <tr> <td>Yellow</td> <td colspan="2">Orange</td> </tr> </table>

13th Sep 2019, 3:23 PM
Joe
Joe - avatar
2 Answers
+ 7
What is tccolor? To change background-color 'bgcolor' is used as attribute //Use CSS instead
13th Sep 2019, 4:07 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 2
<td style="background:blue;">
13th Sep 2019, 4:08 PM
Fredy Alas
Fredy Alas - avatar