如何在html中创建这样的表
我想创建如下表:- 这只是一个样本如何在html中创建这样的表,html,html-table,Html,Html Table,我想创建如下表:- 这只是一个样本 ______________________________________________________________ | | | | | | |______________________| | | | |
______________________________________________________________
| | | | |
| |______________________| | |
| | | | | |
| |________|_____________| | |
| | | | | |
|_______________|___________|__________|_________|____________|
可以使用rowspan和colspan属性
rowspan指定单元格应跨越的行数。i、 e指定单元格应跨2行
colspan指定单元格应跨越的列数。i、 e指定单元格应跨2列
<table>
<tr>
<th rowspan="3"></th>
<th colspan="5"></th>
<th rowspan="3"></th>
<th rowspan="3"></th>
</tr>
<tr>
<td colspan="2"></td>
<td colspan="3"></td>
</tr>
<tr>
<td colspan="3"></td>
<td colspan="2"></td>
</tr>
</table>
当涉及HTML表时,这是最基本的。你可以在一个名为Google的网站上找到关于它的教程-@DaveSumter抱歉,我不得不用谷歌搜索每个单词,因为我不是以英语为母语的说话者。因此,请看一看,向我们展示您为解决问题所做的努力,以及为增加获得答案的可能性所做的努力-谢谢你帮我节省了很多时间+1.