xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
</style>
</head>
<body>
<h2>Cell that spans two rows</h2>
<p>To make a cell span more than one row, use the rowspan attribute.</p>
<table style="width:100%">
<tr>
<th>Name</th>
<td>Jill</td>
</tr>
<tr>
<th rowspan="2">Phone</th>
<td>555-1234</td>
</tr>
<tr>
<td>555-8745</td>
</tr>
</table>
</body>
</html>
xxxxxxxxxx
<table>
<tr>
<td rowspan= "2"> lorem </td>
<td> Ipsum </td>
<td> lorem </td>
</tr>
<tr>
<td> lorem </td>
<td> ipsum </td>
</tr>
<!-- Here we have 2 rows and 3 columns, but we have created 3 in the first,
and 2 in the second. In this case because we used rowspan, the first cell
in the first row will take also a space in the second row so it'll be merged.-->
xxxxxxxxxx
<table>
<tr>
<th>Name</th>
<td>Jill</td>
</tr>
<tr>
<th rowspan="2">Phone</th>
<td>555-1234</td>
</tr>
<tr>
<td>555-8745</td>
</tr>
</table>
xxxxxxxxxx
<html>
<head>
<title>Table with rowspan</title>
</head>
<body>
<table>
<tr>
<td rowspan="2">This cell spans two rows</td>
<td>Cell 1</td>
</tr>
<tr>
<td>Cell 2</td>
</tr>
</table>
</body>
</html>