Version-//W3C//DTD XHTML 1.0 Strict//EN
Purposetable column
DescriptionThe col element is used to set attribute values among columns defined in a colgroup element.
Start tagRequired <col />
align( left | center | right | justify | char )#IMPLIEDhorizontal alignment of cell contents
char CDATA #IMPLIEDalignment char, e.g. char=':'; a single character as per XML specification which defines a character as an atomic unit of text as specified by ISO/IEC 10646 [ISO/IEC 10646] (see also [ISO/IEC 10646-2000])
charoff CDATA #IMPLIEDoffset for alignment char; nn for pixels or nn% for percentage length; horizontal alignment in cells
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
idID#IMPLIEDdocument-wide unique id
langNMTOKEN#IMPLIEDlanguage code (backwards compatible); language code as RFC3066
onclick CDATA #IMPLIEDa pointer button was clicked; script expression
ondblclick CDATA #IMPLIEDa pointer button was double clicked; script expression
onkeydown CDATA #IMPLIEDa key was pressed down; script expression
onkeypress CDATA #IMPLIEDa key was pressed and released; script expression
onkeyup CDATA #IMPLIEDa key was released; script expression
onmousedown CDATA #IMPLIEDa pointer button was pressed down; script expression
onmousemove CDATA #IMPLIEDa pointer was moved within; script expression
onmouseout CDATA #IMPLIEDa pointer was moved away; script expression
onmouseover CDATA #IMPLIEDa pointer was moved onto; script expression
onmouseup CDATA #IMPLIEDa pointer button was released; script expression
span CDATA "1"one or more digits; COL attributes affect N columns
style CDATA #IMPLIEDassociated style info; style sheet data
title CDATA #IMPLIEDadvisory title; text used for titles
valign( top | middle | bottom | baseline )#IMPLIEDvertical alignment attributes for cell contents; vertical alignment in cells
width CDATA #IMPLIEDpixel, percentage, or relative; column width specification
xml:langNMTOKEN#IMPLIEDlanguage code (as per XML 1.0 spec); language code as RFC3066
End tagForbidden
Referenced in colgroup table
<table frame="box" rules="groups" summary="The Results of the Big XHTML Playoffs.">
<caption>The XHTML Playoffs</caption>
<colgroup align="center">
<col />
<col style="background-color: #FFFFAA;" />
<col style="background-color: #BDFCC9;" /></colgroup>
<tfoot style="background-color: #05FFFF;">
<td colspan="3">Entities Win!</td></tr></tfoot>
The XHTML Playoffs
Game Elements Entities
Entities Win!
1 3 0
2 5 4
3 2 8
4 7 9
5 0 1
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.