table/index.html

48 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2023-03-14 14:21:54 +00:00
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Выравнивание содержимого в ячейках</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<table>
<th colspan="5">Order#13</th>
<tr>
<th>#</th>
<th>Product</th>
<th>Price</th>
<th>Amount</th>
<th>Sum</th>
</tr>
<tr>
<td>1</td>
<td>Guitar</td>
<td>132$</td>
<td>1</td>
<td>132$</td>
</tr>
<tr>
<td>2</td>
<td>Bass</td>
<td>177$</td>
<td>1</td>
<td>177$</td>
</tr>
<tr>
<th align ="right"rowspan="2" colspan="3">Subtotal:</th>
<td>1</td>
<td>309$</td>
</tr>
<tr>
<th align ="right"colspan="2">VAT 25$</th>
</tr>
<tr></tr>
<tr>
<th align ="right" colspan="5">334$</th>
</tr>
</table>
</body>
</html>