HTML table can have cells that span over multiple rows/or columns. To make a cell span over multiple columns, use the colspan attribute.
To make a cell span more than one column, use the colspan attribute.
Name | Age | |
---|---|---|
Jill | Smith | 43 |
Eve | Jackson | 57 |
The value of the <rowspan> attribute. The value of the <rowspan> attribute represents the number of rows to span. To make a cell span over multiple rows, use the <rowspan> attribute.
To make a cell span more than one row, use the rowspan attribute.
Name | Jill |
---|---|
Phone | 555-1234 |
555-8745 |