Span Cell to two rows in HTML and CSS
Description
The following code shows how to span Cell to two rows.
Example
<!DOCTYPE HTML>
<html>
<body>
<table border="1">
<tr>
<th>First Name:</th>
<td>Bill</td>
</tr><!-- ww w . j a v a2 s . c o m-->
<tr>
<th rowspan="2">Telephone:</th>
<td>555 123 1234</td>
</tr>
<tr>
<td>555 123 1234</td>
</tr>
</table>
</body>
</html>
The code above generates the following result.
HTML CSS Tutorial Table Structure
Add table caption to a table in HTML and CS...
Add table cell(table data) to a table in HT...
Add table footer to a table in HTML and CSS
Add table header to a table in HTML and CSS
Add vertical header or row header to a tabl...
Column groups with col element in HTML and ...
Create a Table with Longer Cell Content in ...
Create a nested table in HTML and CSS
Create a table with columns and rows in HTM...
Float table around text in HTML and CSS
Group column using colgroup in HTML and CSS
Add table caption to a table in HTML and CS...
Add table cell(table data) to a table in HT...
Add table footer to a table in HTML and CSS
Add table header to a table in HTML and CSS
Add vertical header or row header to a tabl...
Column groups with col element in HTML and ...
Create a Table with Longer Cell Content in ...
Create a nested table in HTML and CSS
Create a table with columns and rows in HTM...
Float table around text in HTML and CSS
Group column using colgroup in HTML and CSS