Live Demo: Example Of HTML Table Rowspan And Colspan

CodeLab Show Output <!DOCTYPE html> <html lang="en"> <head> <title>Example of HTML Table Rowspan and Colspan</title> </head> <body> <h2>Example of Table Rowspan</h2> <table border="1" cellpadding="10"> <tr> <th rowspan="4">Users Info</th> </tr> <tr> <td>1</td> <td>John Carter</td> <td>johncarter@mail.com</td> </tr> <tr> <td>2</td> <td>Peter Parker</td> <td>peterparker@mail.com</td> </tr> <tr> <td>3</td> <td>John Rambo</td> <td>johnrambo@mail.com</td> </tr> </table> <h2>Example of Table Colspan</h2> <table border="1" cellpadding="10"> <tr> <th colspan="3">Users Info</th> </tr> <tr> <td>1</td> <td>John Carter</td> <td>johncarter@mail.com</td> </tr> <tr> <td>2</td> <td>Peter Parker</td> <td>peterparker@mail.com</td> </tr> <tr> <td>3</td> <td>John Rambo</td> <td>johnrambo@mail.com</td> </tr> </table> </body> </html> Switch to SQL Mode Auto update

Share this example with Facebook, Twitter, Gmail. Please give us a Like, if you find it helpful.

Từ khóa » Html Table Rowspan Colspan Examples