Explain Colspan and Rowspan .
Answers
Answered by
45
Colspan or Column Span : The colspan attribute is used to determine the number of cell columns of the table this cell should span. In simple words, it is used to make a cell span more than one column or used to join columns together.
Syntax : <td colspan="number">
For example :
- <td colspan="2" <br/> </td> (Join two columns together)
- <td colspan="4" <br/> </td> (Join four columns together)
Rowspan or Row Span : The rowspan attribute is used to determine the number of cell rows of the table this cell should span. In simple words, it is used to make a cell span more than one row.
Syntax : <td rowspan="number">
For example :
- <td rowspan="2" <br/> </td> (Join two rows together)
- <td rowspan="4" <br/> </td> (Join four rows together)
Answered by
5
sometime a table cell is bigger than other its penis spread to more rows or columns that sells can be created with rowspan and colspan for instant
Similar questions
English,
7 months ago
Accountancy,
7 months ago
Chemistry,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago