col elements that specify different alignment for the three columns in the table:
The <col> tag defines attribute values for one or more columns in a table.
The <col> tag is useful for applying styles to entire columns, instead of repeating the
styles for each cell, for each row.
The <col> tag can only be used inside a table or a colgroup element.
The <col> tag is supported in all major browsers.
Note: Only the width attribute works in Firefox (none of the other attributes).
In HTML the <col> tag has no end tag.
In XHTML the <col> tag must be properly closed.
Hint: Add the style attribute to the <col> tag, and let CSS take care of
backgrounds, width and borders.
Got any Doubts! Check <colgroup> tag.
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the
attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <col> tag supports the following standard attributes:
More information about Standard Attributes.
The <col> tag supports the following event attributes:
More information about Event Attributes.
Your Query was successfully sent!