Home » html » HTML Table rowspan and colspan

HTML Table rowspan and colspan

To span a row more than a single row we can use rowspan attribute.

Example:

Group 1 Manish Durg India 
Manoj Bhopal India 

Group 2 Rohit Banglore India 
Nitesh Bhopal India  

Output:

Group 1 Manish Durg India
Manoj Bhopal India
Group 2 Rohit Banglore India
Nitesh Bhopal India

To span a column more than a single column we can use colspan attribute.
Example:

Output:

Group 1
Manish Durg India
Manoj Bhopal India
Group 2
Rohit Banglore India
Nitesh Bhopal India
Managed by MochaHost - Fast & Easy WordPress Hosting