|
|
Return to HTML 4.01 element index page
Name: Column
<col>
Description: Defines the attributes of a specific column within a table.
Browser Compatibility: IE: 4.0+
| Attributes: |
|
Code Example:
<table width="450">
<colgroup>
<col align="left" width="50"><col align="center">
</colgroup>
<tr>
<td>This column is aligned to the left.</td>
<td>This column is centered.</td>
</tr>
</table>
Comments: Does not group columns together structurally — see COLGROUP
XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <col />
Created: March 15, 2005
URL: http://webreference.com/html/reference/specs/