英 [k?l]? ?美 [kɑ:l]??
n.坳;山口;關(guān)口,峽路,關(guān)隘;山塢
html col標(biāo)簽 語法
作用:表格中一個或多個列定義屬性值。
說明:如需對全部列應(yīng)用樣式,<col> 標(biāo)簽很有用,這樣就不需要對各個單元和各行重復(fù)應(yīng)用樣式了。您只能在 table 或 colgroup 元素中使用 <col> 標(biāo)簽。
注釋:在 HTML 中,<col> 沒有結(jié)束標(biāo)簽。在 XHTML 中,<col> 標(biāo)簽必須被正確的關(guān)閉。
html col標(biāo)簽 示例
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <table width="100%" border="1"> <col align="left" /> <col align="left" /> <col align="right" /> <tr> <th>商品種類</th> <th>名稱</th> <th>價格</th> </tr> <tr> <td>衣服</td> <td>襯衣</td> <td>53元</td> </tr> <tr> <td>鞋子</td> <td>板鞋</td> <td>199元</td> </tr> </table> </body> </html>
運(yùn)行實(shí)例 ?
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例