菜鸟教程 tryhtml_col_char 在线代码实例

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

 <table width="100%" border="1">
  <colgroup><col align="left">
  <col align="char" char=".">
  </colgroup><tbody><tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100.00</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$10.00</td>
  </tr>
</tbody></table>

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