0
点赞
收藏
分享

微信扫一扫

【响应式Web前端设计】HTML <td> 标签的 colspan 属性

yundejia 2022-02-24 阅读 112
html


<html>
<body>

<table width="100%" border="1">
<tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td colspan="2">January</td>
</tr>
<tr>
<td colspan="2">February</td>
</tr>
</table>

</body>
</html>

【响应式Web前端设计】HTML <td> 标签的 colspan 属性_html

定义和用法

colspan 属性规定单元格可横跨的列数。



举报

相关推荐

0 条评论