Html col tag
Define :
This tag specifies column properties for each column within a <colgroup> element. It is used to set the background color with the help of <col> tag and it is useful for applying styles to entire columns.
For Example :
Output :
Browser Support
All browser are supports like opera, firefox, chrome, microsoft edge.
Global and Event Attributes
This tag also supports the Global and Event Attributes in HTML.
Attributes ;
element should span element should span
Attribute |
Description |
span |
It is defined as the number of columns a <col> element should span
|
Example :
Output :
Example :
Output :