<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<table border="3" width="400" cellspacing="0" cellpadding="0">
<caption>
<h1>购物车</h1>
</caption>
<thead bgcolor="lightgreen">
<tr>
<th>分类</th>
<th>序号</th>
<th>名称</th>
<th>数量</th>
<th>进货价</th>
<th>出售价</th>
<th>库存</th>
</tr>
</thead>
<tbody align="center">
<tr>
<td rowspan="2">数码电器</td>
<td>1</td>
<td>苹果手机</td>
<td>3</td>
<td>4888</td>
<td>5999</td>
<td>5</td>
</tr>
<tr>
<!-- <td>数码电器</td> -->
<td>2</td>
<td>小米电视</td>
<td>5</td>
<td>3899</td>
<td>4899</td>
<td>9</td>
</tr>
<tr>
<td rowspan="3">生鲜</td>
<td>1</td>
<td>鲈鱼</td>
<td>20</td>
<td>20</td>
<td>38</td>
<td>5</td>
</tr>
<tr>
<!-- <td>生鲜</td> -->
<td>2</td>
<td>土豆</td>
<td>4</td>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<!-- <td>生鲜</td> -->
<td>3</td>
<td>牛肉</td>
<td>5</td>
<td>23</td>
<td>34</td>
<td>7</td>
</tr>
<tfoot align="center" bgcolor="lightgray">
<td colspan="3">合计:</td>
<td>45</td>
<td>5564</td>
<td>54</td>
<td>54</td>
</tfoot>
</tbody>
</table>
</body>
</html>