<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!

+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

6/25/2016 6:47:35 AM

Rahul Kumar Sharma

5 Answers

New Answer

+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....

+1

quite thoughtful Nihaal

+1

cute I like this👍

0

quite thoughtful Nihaal

0

i also thought the same and curious to know thats why i read the comments. thanks for reply