<table border="1"> <tr> <th>First name</th> <th>Last name</th> <th>Phone number</th> <th>Email</th> </tr> <tr> <td>Ben</td> <td>Dunkle</td> <td>716-839-0715</td> <td>ben@fieldii.com</td> </tr> <tr> <td>Mike</td> <td>Connors</td> <td>516-868-0951</td> <td>mike@aol.com</td> </tr> <tr> <td>Caroline</td> <td>Smith</td> <td>212-999-2332</td> <td>caroline@gmail.com</td> </tr> </table>
Rendered
| First name | Last name | Phone number | |
|---|---|---|---|
| Ben | Dunkle | 716-839-0715 | ben@fieldii.com |
| Mike | Connors | 516-868-0951 | mike@aol.com |
| Caroline | Smith | 212-999-2332 | caroline@gmail.com |
Colspan=2 example
<table border="1"> <tr> <td colspan="2">This td has a colspan attribute set to 2 (colspan="2"). <br/> It spans across the two columns in this table.</td> </tr> <tr> <td>A cell</td> <td>Another cell</td></tr> </table>
Rendered
| This td has a colspan attribute set to 2 (colspan="2"). It spans across the two columns in this table. |
|
| A cell | Another cell |
Rowspan=2 example
<table border="1"> <tr> <td rowspan="2">This td has a rowspan attribute set to 2 (rowspan="2"). < br/>It spans across the two rows in this table.</td> <td>A cell</td> </tr> <tr> <td>Another cell</td></tr> </table>
Rendered
| This td has a rowspan attribute set to 2 (rowspan="2"). It spans across the two rows in this table. |
A cell |
| Another cell |