<br/> and "colspan"in tables | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

<br/> and "colspan"in tables

can anyone explain me what is the purpose of <br/> and "colspan" in the given example ? Thank you !

30th Aug 2017, 7:39 AM
Adrian Badulescu
Adrian Badulescu - avatar
1 Answer
+ 6
The <br> element is used to insert a line break..Thus the code have got the right position and looks good.. and the colspan attribute defines the number of columns a cell should span..the perpose of colspan is to define the number of columns spanned by an individual column definition. But you didn't give any example
30th Aug 2017, 8:51 AM
Gregor Duff
Gregor Duff - avatar