What is Colspan | Sololearn: Learn to code for FREE!

+14

What is Colspan

12/27/2016 10:00:15 AM

Kushagra Pankajrai Bothra

11 Answers

New Answer

+21

colspan is an attribute used inside table element with TD tags. it is generally used when a value is common in any no. of consecutive columns in the same row. For e.g. <tr><Td colspan="2">DATA HERE</TD></tr> here the value of colspan is 2. That means the cell of the table in which it has been given will take the space of 2 columns. Or simply it will skip the cell of the next column in the corresponding row. on the other hand it will be common in the 2 columns. NOTE - 2 specified here is the no. of COLUMNS which is variable.

+2

Column span measured in Rows

+2

Colspan used for expanding cells from same row of a table

+1

an attribute used to give a table element more cells depending on the number assigned to it. for example, colspan ="3" will assign 3cells to the given table element

0

জানেন না তো বলছেন কেন

0

Colspan means the gape between two tables

0

it is used to increase the size of a row in column

0

It is used to merge on combines two or more column

0

It is used to merge on combines two or more column

-1

横跨度,sorry I only can wrote in Chinese

-1

it's an attribute for HTML element <td>, telling that this column would take up many columns