Search notes:

HTML element: col

The <col> tag sets properties (such as the background color) for columns within HTML tables.
<!DOCTYPE html>
<html>
<head>
  <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  <title>&lt;col&gt;</title>
</head>
<body>

   <table summary='..'>

     <col style='background-color:#b72; color:#fff'/>
     <col style='background-color:#27b; color:#fff'/>
     <col style='background-color:#b27; color:#fff'/>

     <tr>
       <td>Foo</td>
       <td>Bar</td>
       <td>Baz</td>
     </tr>

     <tr>
       <td>One</td>
       <td>Two</td>
       <td>Three</td>
     </tr>

   </table>

</body>
</html>
Github repository about-html, path: /tags/col.html

See also

HTML elements

Index