0
how to merge two rows within a column
creating merged rows in a column, leaving other columns unaffected https://code.sololearn.com/WqH6Sz11HB6J/?ref=app
1 ответ
+ 2
found it. we use the rowspan tag such as in this code
<!DOCTYPE html>
<html>
<head><title>Wagaba table trial</title></head>
<body bgcolor="cream">
<table border="1">
<tr>
<td rowspan="2" width="200"></td>
<td colspan="3"><p align="center">furniture details</p></td>
</tr>
<tr>
<td>Quantity</td>
<td>Unit price</td>
<td>Total amount</td>
</tr>
<tr>
<td>desks</td>
<td>5</td>
<td>20,000</td>
<td>100,000</td>
</tr>
</table>
<ul>
<li>books</li>
<li>pens</li>
</ul>
<br>
<br>
<a href="https://www.google.com">courses</a>
</body>
</html>