Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

colgroup

Description

The colgroup HTML element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.

Syntax

HTML

<colgroup attribute-name="attribute-value"></colgroup>

Attributes

Global

NameValueDescription
spanpositive integerNumber of columns in the group

CSS

colgroup
{
    display: table-column-group;
}

Examples

1 · span

2 · CSS

caption

col

table

tbody

td

tfoot

th

thead

tr

!doctype

a

abbr

address

area

article

aside

audio

b

base

bdi

bdo

blockquote

body

br

button

canvas

caption

cite

code

col

data

datalist

dd

del

details

dfn

dialog

div

dl

dt

em

embed

fieldset

figcaption

figure

footer

form

h1

h2

h3

h4

h5

h6

head

header

hgroup

hr

html

i

iframe

img

input

ins

kbd

label

legend

li

link

main

map

mark

menu

meta

meter

nav

noscript

object

ol

optgroup

option

output

p

param

picture

pre

progress

q

rb

rp

rt

rtc

ruby

s

samp

script

search

section

select

slot

small

source

span

strong

style

sub

summary

sup

table

tbody

td

template

textarea

tfoot

th

thead

time

title

tr

track

u

ul

var

video

wbr

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu