<table> <tr> <td colspan="2">失败的实例:</td> </tr> {% for ip , jieguo in reason.iteritems() %} <tr> <td colspan="2">{{ ip }}</td> </tr> {% for l, r in jieguo.iteritems() %} <tr> <td>{{ l }}</td> <td>{{ r }}</td> </tr> {% end %} {% end %} </table>
上面是列合并
下面是行合并
<table> <tr> <th rowspan="2"></th> </tr> </table>
html表格合并(行,列)
时间: 2024-10-17 07:12:13