colspan | Sololearn: Learn to code for FREE!



whats the usage of colspan?

3/18/2018 10:41:39 AM

Ravi Raj Hembrom

2 Answers

New Answer


to merge some columns


This might be used for a header cell that titles a group of columns, or a side-bar that groups rows of entries. Both colspan= and rowspan= are attributes of the two table-cell elements, <th> and <td> . They provide the same functionality as “merge cell” in spreadsheet programs like Excel.