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

col

Description

The col element for HTML represents one or more columns in the column group represented by that colgroup.

Syntax

HTML

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

Attributes

Global

NameValueDescription
spanpositive integerNumber of columns in the group

CSS

col
{
    display: table-column;
}

Examples

1 · span

2 · CSS

caption

colgroup

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

colgroup

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