Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; } </style> </head> <body> <h4>Cell that spans two columns:</h4> <table> <tr> <th>Name</th> <th colspan="2">Telephone</th> </tr> <tr> <td>Bill Gates</td> <td>555 77 854</td> <td>555 77 855</td> </tr> </table> <h4>Cell that spans two rows:</h4> <table> <tr> <th>First Name:</th> <td>Bill Gates</td> </tr> <tr> <th rowspan="2">Telephone:</th> <td>555 77 854</td> </tr> <tr> <td>555 77 855</td> </tr> </table> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_table_span by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:49:17 GMT --> </html>
Result:
Try it Yourself - © w3schools.com