+ 1

what is difference between 3rd and 4th line

https://code.sololearn.com/WcP3jR18hB70/?ref=app

4th Mar 2018, 5:08 AM
Ipshita Pal
Ipshita Pal - avatar
3 Answers
+ 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>
4th Mar 2018, 5:47 AM
Amethyst Animion
Amethyst Animion - avatar
+ 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>
4th Mar 2018, 5:14 AM
Manoj sahu
Manoj sahu - avatar