+ 1

Why colspan is used in html tables??

25th Jul 2017, 9:52 AM
Shubhadip Chattaraj
Shubhadip Chattaraj - avatar
2 Answers
+ 4
'colspan' is used to set the number of cells IN A ROW to merge... 'rowspan' is used as well to set number of cells merged in a column... Merged cells don't have to be write in the code: <table> cell content cell content cell content cell content cell content cell content cell content
25th Jul 2017, 10:52 AM
visph
visph - avatar
0
colspan attribute is used to expand a cell for two or more cells
25th Jul 2017, 9:55 AM
Shubhadip Chattaraj
Shubhadip Chattaraj - avatar