!
<html>
<body>
<table border="1">
<caption>商品表</caption>
<thead>
<tr>
<th>分类</th>
<th>ID</th>
<th>商品名</th>
<th>单价</th>
<th>数量</th>
<th>总价</th>
</tr>
<tr>
<th rowspan="3">蛋糕</th>
<th>1001</th>
<th>蛋黄糕</th>
<th>10</th>
<th>2</th>
<th>20</th>
</tr>
<tr>
<th>1002</th>
<th>蛋挞</th>
<th>10</th>
<th>1</th>
<th>10</th>
</tr>
<tr>
<th>1003</th>
<th>老婆饼</th>
<th>20</th>
<th>5</th>
<th>100</th>
</tr>
<tr>
<th rowspan="2">饮品</th>
<th>1004</th>
<th>牛奶</th>
<th>10</th>
<th>2</th>
<th>20</th>
</tr>
<tr>
<th>1005</th>
<th>豆浆</th>
<th>15</th>
<th>2</th>
<th>30</th>
</tr>
</thead>
<tfoot>
<tr>
<th colspan="4">合计:</th>
<th>12</th>
<th>180</th>
</tr>
</tfoot>
</table>
<button>
结算
</button>
</body>
</html>