<table border="2"> <tr> <td>Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td><br /></td> <td colspan="2"><br /></td> </tr> </table> Why the break line tag <br/> used in 9 line of this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

<table border="2"> <tr> <td>Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td><br /></td> <td colspan="2"><br /></td> </tr> </table> Why the break line tag <br/> used in 9 line of this code

25th Jun 2016, 6:47 AM
Rahul Kumar Sharma
Rahul Kumar Sharma - avatar
5 Answers
+ 12
because it breaks a line,,and as u can see that there is nothing there in <td> ....so that <br/> is given to break a line... otherwise the row which is empty will look thin because of no data....so that the br is given to make it equal like other td that contains some data....
25th Jun 2016, 9:13 AM
Nihaal Aftab
Nihaal Aftab - avatar
+ 1
quite thoughtful Nihaal
27th Jun 2016, 12:31 PM
Kelvin Wathuta Gitahi
Kelvin Wathuta Gitahi - avatar
+ 1
cute I like this👍
3rd Jul 2016, 5:07 PM
Cele Prince
Cele Prince - avatar
0
quite thoughtful Nihaal
27th Jun 2016, 12:31 PM
Kelvin Wathuta Gitahi
Kelvin Wathuta Gitahi - avatar
0
i also thought the same and curious to know thats why i read the comments. thanks for reply
15th Jul 2016, 8:48 AM
Dino Avila de Gracia
Dino Avila de Gracia - avatar