基本用法
<table width="500px" height="400px" border="6" align="center">
<tr>
<th>姓名</th>
<th>课程</th>
<th>成绩</th>
</tr>
<tr>
<td>1.1</td>
<td>1.2</td>
<td>1.3</td>
</tr>
<tr>
<td>2.1</td>
<td>2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/525e65082212336e6bc2209d0d3d2ebe.png#pic_center)
扩展
<table border="1" cellspacing="0" width="500px">
<tr>
<td align="center" colspan="3">菜谱</td>
</tr>
<tr>
<td rowspan="2">上午</td>
<td>肉末茄子</td>
<td>干煸豆角</td>
</tr>
<tr>
<td>小葱豆腐</td>
<td>醋溜白菜</td>
</tr>
<tr>
<td rowspan="2">下午</td>
<td>油闷大虾</td>
<td>酱肘子</td>
</tr>
<tr>
<td>八珍豆腐</td>
<td>烤全羊</td>
</tr>
</table>
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/ac0bdc0df5e690e65b2d98dc59ec8111.png#pic_center)