The HTML <col> width Attribute is used to specify the width of <col> element. It sets the fixed width of column element. In general, the width of <col> element is the width needed to display its content.
<col width="pixels | % | relative_length">
- pixels: It sets the width of <col> attribute in terms of pixels.
- %: It sets the width of <col> attribute in terms of percentage (%).
- relative_length: It sets the width of <col> element attribute relative to its other content.
Note: The <col> width attribute is not supported by HTML 5.
Supported Browsers: The browser supported by HTML <col> width attribute are listed below:
- Google Chrome
- Internet Explorer
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.