英[kɒl] 美[kɑ:l]
n.峳;山口;pass,xia road,pass;shanwu
html col tag syntax
Function:One or more columns in the table define attribute values.
Note: If you need to apply styles to all columns, the <col> tag is useful, so that you don’t need to repeatedly apply styles to each cell and row. You can only use the <col> tag within a table or colgroup element.
Note: In HTML, <col> has no closing tag. In XHTML, the <col> tag must be closed properly.
html col tag example
<!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>
Run instance »
Click the "Run instance" button to view the online instance