+ 1

I don't understand the function of "br" tag here. (Table lesson no-2)

<table border="2"> <tr> <td>Red</td> <td>Blue</td> <td>Green</td> </tr> <tr> <td><br /></td> <--! this line --> <td colspan="2"><br /></td> </tr> </table> there is a br tag in the 8th line (<td><br /></td>) , and if I remove that <br /> between <td> </td> , I get the same output. What is the point of that <br /> ?

31st Dec 2016, 10:02 AM
Dark Soul
Dark Soul - avatar
4 Respostas
+ 4
remember that they are tag, no functions. br stands for break line. you will notice it if you use after an inline object
31st Dec 2016, 10:08 AM
Nahuel
Nahuel - avatar
+ 2
It mean break it's used to start another line <p>you: hello how are you?<br>friend: great how are you?<p> the output look like this you: hello how are you? friend: great how are you?
31st Dec 2016, 10:11 AM
totoro
totoro - avatar
0
it creates a break and let the remaining content in new line
8th Jan 2017, 11:54 PM
Jung Hee Yu
Jung Hee Yu - avatar
0
nice answers
14th Feb 2017, 8:53 AM
Samuel Akubor
Samuel Akubor - avatar