What is the use of colspan tag in table | Sololearn: Learn to code for FREE!

+3

What is the use of colspan tag in table

5/30/2017 8:40:20 AM

Shaswat Singh

4 Answers

New Answer

+1

it defines the number of columns a cell should span

+1

colspan used for merge cells

+1

You can use rowspan="n" on a td element to make it span n rows, and Colspan="m" on a td element to make it span m columns.