菜鸟教程 tryhtml_td_charoff 在线代码实例

运行 保存 全屏 右侧展示 实时查看
主题:

 <table border="1">
  <tbody><tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td align="char" char="." charoff="2">$100.00</td>
  </tr>
  <tr>
    <td>February</td>
    <td align="char" char="." charoff="2">$10.00</td>
  </tr>
</tbody></table>

<p><b>Note:</b> The charoff attribute is not supported by any of the major browsers.</p>
<p><b>Note:</b> The charoff attribute is not supported in HTML5.</p>