+ 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 /> ?
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
+ 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?
0
it creates a break and let the remaining content in new line
0
nice answers