C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to use col tag?

0 votes
17 views
asked Apr 20, 2014 by taye Sr Member (4,970 points)

1 Answer

0 votes
This <col> element specifies the properties of a column in a <table>.

Example

<html>
<body>
     <table>
          <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>
answered Apr 20, 2014 by kelly johnes Advisor (6,330 points)

Related questions

0 votes
1 answer 41 views
41 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 27 views
27 views asked Apr 23, 2014 by smith Geek (15,340 points)
0 votes
1 answer 28 views
28 views asked Apr 23, 2014 by smith Geek (15,340 points)
...