The <colgroup> tag is used to group columns in a table for formatting.
The <colgroup> tag is useful for applying styles to entire columns, instead of repeating the styles for each cell, for each row.
The <colgroup> tag can only be used inside a table element.
Most of the attributes from 4.01 are not supported in HTML5.
Note: The colgroup element can only contain col elements.
Note: The colgroup element does not create columns. To create columns, you must specify td elements within a tr element.
Hint: Use the colgroup element if you want to specify the same attribute values to a group of columns.
Hint: Use the col element when you want to specify different attribute values to more than one table column.
The <colgroup> tag also supports the Standard Attributes in HTML5.
The <colgroup> tag also supports the Event Attributes in HTML5.
Your Query was successfully sent!