HTML表格学习
作者:互联网
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表格</title>
</head>
<body>
<!--表格:table-->
<table border="1px">
<tr>
<!--跨列 colspan
  空格的意义是使1-1居中-->
<td colspan="4"> 1-1</td>
</tr>
<tr>
<!--跨行:rowspan-->
<td rowspan="2">2-1</td>
<td>2-2</td>
<td>2-3</td>
<td>2-4</td>
</tr>
<tr>
<td>3-1</td>
<td>3-2</td>
<td>3-3</td>
</tr>
</table>
</body>
</html>
标签:居中,空格,表格,--,学习,HTML,nbsp 来源: https://www.cnblogs.com/shuqiqi/p/16496082.html