tryhtml_table_rules 在线代码实例
<p><b>注意:</b> HTML5 不支持 rules 属性。可以使用 CSS 代替。</p>
<p>位于行之间的线条:</p>
<table rules="rows">
<tbody><tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</tbody></table>
<p>位于列之间的线条:</p>
<table rules="cols">
<tbody><tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</tbody></table>
<p>位于行和列之间的线条:</p>
<table rules="all">
<tbody><tr>
<th>Month</th>
<th>Savings</th>
</tr>
<tr>
<td>January</td>
<td>$100</td>
</tr>
</tbody></table>