欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

HTML <thead> 標(biāo)簽的 align 屬性

定義和用法

align 屬性規(guī)定 thead 元素中的內(nèi)容的水平對齊方式。

實例

下面的 HTML 表格將 thead 元素中的內(nèi)容向左對齊:

<table border="1" width="100%">
  <thead align="left">
    <tr>
      <th>Month</th>
      <th>Savings</th>
    </tr>
  </thead>
    <tr>
      <td>January</td>
      <td>$100</td>
    </tr>
    <tr>
      <td>February</td>
      <td>$80</td>
    </tr>
</table>

TIY

瀏覽器支持

所有瀏覽器都支持 align 屬性。

注釋:IE 無法正確地處理 "justify" 值,IE 會以居中的方式進行處理。

注釋:幾乎沒有瀏覽器能夠正確地處理 "char" 值。

語法

<thead align="value">

屬性值

描述
left 左對齊內(nèi)容(默認值)。
right 右對齊內(nèi)容。
center 居中對齊內(nèi)容(th 元素的默認值)。
justify 對行進行伸展,這樣每行都可以有相等的長度(就像在報紙和雜志中)。
char 將內(nèi)容對準(zhǔn)指定字符。