HTML Table Colgroup | Colgroup | Colgroup html5 Tutorial WDH

HTML Table Colgroup


e HTML  tag is used to specify a group of columns with common properties inside a table. The tag can include several  elements that define column properties.

The  tag is nested inside a  tag, before , ,  and , and after  tags.

 

Syntax

The 

 tag comes in pairs. The content is written between the opening () and closing () tags.

 

Example of the HTML 

 tag:


, if it is used (in the tag, the table name is inserted).

 

A single HTML table can include several 

Name Gender Age