Horje

How to set Default CSS Settings for HTML <colgroup> Tag

Most browsers will display the <colgroup> element with the following default values
index.html
Example: HTML
<style>
table, th, td {
  border: 1px solid black;
}

colgroup {
  display: table-column-group;
} 
</style>

Output should be:

How to set Default CSS Settings for HTML <colgroup> Tag




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin