+ 1
what is difference between 3rd and 4th line
3 Antworten
+ 9
here the fixed code
<table border="2">
<tr>
<td bgcolor="red">Red</td>
<td bgcolor="blue">Blue</td>
<td>Green</td>
</tr>
<tr>
<td>Yellow</td>
<td colspan="2">Orange</td>
</tr>
</table>
+ 3
There is mistake in 4th line. bgcolor should be used as an attribute of td tag, you have closed the tag and then written the bgcolor.
it should
<td bgcolor="red">Red</td>
<td bgcolor="blue">Blue</td>
not
<td bgcolor="red">Red</td>
<td>bgcolor="blue">Blue</td>