What is the use of colspan in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of colspan in html?

8th Jan 2017, 7:44 AM
Saumya Saloni
Saumya Saloni - avatar
4 Answers
+ 6
It's like merge cells in MS Excel.
8th Jan 2017, 7:46 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 2
'colspan' is an attribute of the html <td> ( cell ) tag element, used for made once cell with the number ( value of attribute ) of direct neighbors cells... 'colspan' bring together columns, when 'rowspan' handles... rows ^^
8th Jan 2017, 8:22 AM
visph
visph - avatar
+ 1
colspan=no. of column => It merge the number of columns specified.
8th Jan 2017, 8:59 AM
Mishan Sapkota
Mishan Sapkota - avatar
0
colspan spans a column to several columns as defined.
8th Jan 2017, 7:47 AM
Imran Pollob
Imran Pollob - avatar