HTML colgroup tag

<colgroup> tag in HTML

The <colgroup> tag contain the information about the table columns.

Table columns can be separated using <col> tag, it must be written inside the <colgroup> tag.

Example

Try Yourself

To see how the above example work in detail, Click Here