show-notice
hide-notice

Thursday 8 August 2013

HTML colgroup Tag


Introduction:

The HTML colgroup tag is used for specifying properties for a group of columns within a table.
If you need to apply different properties to a column within a colgroup, you can use the HTML col tag within the colgroup tag.

Example:
<html>
<head>
<title>HTML colgroup Tag</title>
</head>
<body>
<table border="1">
  <colgroup span="3">
   </colgroup>
   <tr>
    <td>col 1</td>
    <td>col 2</td>
    <td>col 2</td>
   </tr>
</table>
</body>
</html>

SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com