difference between colspan and rowspan
Answers
Answered by
13
Rowspan is a property added to a table cell [ i.e td] so that it can span many rows. If the rowspan property is given a value of 2, it will stretch across two cells horizontally.
While colspan is a property added to a table cell [i.e td] so that it can span many columns. If the colspan property is given a value of 2, it will stretch across two cells vertically
PS: Rows are the horizontal cells in a table while columns are the vertical cells in a table
While colspan is a property added to a table cell [i.e td] so that it can span many columns. If the colspan property is given a value of 2, it will stretch across two cells vertically
PS: Rows are the horizontal cells in a table while columns are the vertical cells in a table
ayush7376:
thanks
Answered by
3
rowspan is a property that is added to table cell
Similar questions