'col' Example : col « HTML Tag Reference « HTML CSS Reference






'col' Example

    
<html>
<head>
<title>col element example</title>
</head>
<body>
   <table width="500" border="8" cellspacing="5" cellpadding="5" align="center">
      <col style="color:maroon">
      <col style="color:red">
      <tr><td>col 1: maroon</td>
          <td>col 2: red</td>
      <tr><td>col 1: maroon</td>
          <td>col 2: red</td></tr>
   </table>
</body>
</html>
           
      
      








Related examples in the same category

1.'col' Syntax and Note
2.'col' HTML Attributes
3.'col' Event Handlers
4.'col' CSS Attributes and JavaScript Style Properties
5.'col' Microsoft Behaviors
6.'col' JavaScript Properties
7.'col' JavaScript Methods
8.'col' JavaScript Collections
9.'col' JavaScript Objects