Home >> HTML 5 >> colgroup Tag in HTML 5

colgroup Tag in HTML 5

The <colgroup> tag specifies a group of one or more columns in a table for formatting.
<!Doctype Html>  
       <title>Colgroup Tag</title>
<table width="200" height="200" border="1">
       <col style="background-color:green">
       <col style="background-color:red">
Name Age
ram 22
shyam 24

Post Your Comment

Next Questions
data Tag
datalist Tag
dd Tag
del Tag
details Tag
dfn Tag
dialog Tag
dir Tag
div Tag
dl Tag
dt Tag
em Tag
embed Tag
fieldset Tag
figcaption Tag
figure Tag
font Tag
footer Tag
form Tag
frame Tag
frameset Tag
Heading Tag
head Tag
header Tag
hr Tag

Copyright ©2022 coderraj.com. All Rights Reserved.