HTML Table Column Group
HTML Table Column Group is used to specify a group of one or more columns to apply specific formatting to these column groups.
<colgroup>
is the tag used to specify column group in HTML Table.
Examples
In the following example, we specify different background color for different columns using Column Group <colgroup>
tag.
index.html
ADVERTISEMENT
Conclusion
In this HTML Tutorial, we learned about HTML Table Column Group, and how to use it to format columns, with examples.