用于网页表格的使用
代码如下
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<table align="center" border="2" cellpadding="2" width="500" height="260">
<tr>
<th>姓名</th>
<th>性别</th>
<th>年龄</th>
</tr>
<tr>
<th>杨幂</th>
<th>女</th>
<th>30</th>
</tr>
<tr>
<th>佟丽娅</th>
<th>女</th>
<th>32</th>
</tr>
<tr>
<th>鞠婧祎</th>
<th>女</th>
<th>26</th>
</tr>
<tr>
<th>程潇</th>
<th>女</th>
<th>22</th>
</tr>
<tr>
<th>宋羽琦</th>
<th>女</th>
<th>20</th>
</tr>
<tr>
<th>李沁</th>
<th>女</th>
<th>28</th>
</tr>
<tr>
<th>宋祖儿</th>
<th>女</th>
<th>24</th>
</tr>
<tr>
<th>张雪迎</th>
<th>女</th>
<th>23</th>
</tr>
</table>
</body>
</html>
运行图片
望大家多多指正