<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表格结构介绍</title>
</head>
<body>
<table width="500" height="400" border="1" cellspacing="0">
<thead>
<td>jasjlgjs</td>
<td>jasjlgjs</td>
<td>jasjlgjs</td>
</thead>
<tbody>
<td>sjldkgj</td>
<td>sjldkgj</td>
<td>sjldkgj</td>
</tbody>
<tfoot>
<td>sljgdlsja</td>
<td>sljgdlsja</td>
<td>sljgdlsja</td>
</tfoot>
</table>
<!--单元格的合并-->
<table bgcolor="#7fffd4" width="500" height="400" border="1" cellspacing="0">
<tr>
<td colspan="2"></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td rowspan="2"></td>
<td></td>
<td rowspan="2"></td>
</tr>
<tr>
<td></td>
<!--<td></td>-->
<td></td>
<!--<td></td>-->
</tr>
</table>
</body>
</html>
html单元格的合并
最新推荐文章于 2024-09-04 14:57:55 发布