- <table width="50%" border="1">
- <tr>
- <td> </td>
- <td rowspan="2"> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- </tr>
- </table>要合并2和5两个单元格,,代码如下
复制代码 2,3,6,5
<table width="50%" border="1">
<tr>
<td> </td>
<td rowspan="2"> </td>
</tr>
<tr>
<td> </td>
rowspan是用来合并行,colspan是用来合并列
</tr>
</table>
|