Introduction:
The HTML
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:
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>
0 comments :
Post a Comment