col ElementThe col element is declared by the XHTML 1.1 Tables Module but is not present in the
*W3C XHTML 1.1 Basic Tables Module
Elements in the Tables Module are:table | caption | col | colgroup | thead | tfoot | tbody | tr | th | td
For more information on the col element, see the associated
colgroup element.
There are no #REQUIRED attributes on the col element.
col element are listed below:align [ type Enumeration (left | center | right | justify | char) ]col and colgroup by several major user agents, notably Firefoxchar [ type Character ]align attribute is set to "char", this specifies a single character at which to align the contents of all cells in the spanned columnscharoff [ type Length ]char (again, I don't know of any user agents which support this attribute)span [ type Number - default="1" ]col elementvalign [ type Enumeration (top | middle | bottom | baseline) ]col and colgroup by several major user agents, notably Firefoxwidth [ type MultiLength ]col element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
col element is:
EMPTY
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
colThis element is empty and may have no children.
colcolgroup, table