What is the use of colspan tag in table | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

What is the use of colspan tag in table

30th May 2017, 8:40 AM
Shaswat Singh
Shaswat Singh - avatar
3 Respostas
+ 1
it defines the number of columns a cell should span
30th May 2017, 8:42 AM
SoakedInAllan
SoakedInAllan - avatar
+ 1
colspan used for merge cells
30th May 2017, 8:50 AM
Vijay Saini
Vijay Saini - avatar
+ 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.
31st May 2017, 2:00 PM
Soussi Mohamed
Soussi Mohamed - avatar