You are on page 1of 5

j i bi l ee

<! - - . . . - - > Def i nes a comment
<! DOCTYPE> Def i nes t he document t ype
<a> Def i nes a hyper l i nk
<abbr > Def i nes an abbr evi at i on
<acr onym> Not suppor t ed i n HTML5. Use <abbr > i nst ead.
Def i nes an acr onym
<addr ess> Def i nes cont act i nf or mat i on f or t he aut hor / owner of a document
<appl et > Not suppor t ed i n HTML5. Use <obj ect > i nst ead.
Def i nes an embedded appl et
<ar ea> Def i nes an ar ea i nsi de an i mage- map
<ar t i cl e> Def i nes an ar t i cl e
<asi de> Def i nes cont ent asi de f r omt he page cont ent
<audi o> Def i nes sound cont ent
<b> Def i nes bol d t ext
<base> Speci f i es t he base URL/ t ar get f or al l r el at i ve URLs i n a document
<basef ont > Not suppor t ed i n HTML5. Use CSS i nst ead.
Speci f i es a def aul t col or , si ze, and f ont f or al l t ext i n a document
<bdi > I sol at es a par t of t ext t hat mi ght be f or mat t ed i n a di f f er ent di r ect i on
f r omot her t ext out si de i t
<bdo> Over r i des t he cur r ent t ext di r ect i on
<bi g> Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes bi g t ext
<bl ockquot e> Def i nes a sect i on t hat i s quot ed f r omanot her sour ce
<body> Def i nes t he document ' s body
<br > Def i nes a si ngl e l i ne br eak
<but t on> Def i nes a cl i ckabl e but t on
<canvas> Used t o dr aw gr aphi cs, on t he f l y, vi a scr i pt i ng ( usual l y
J avaScr i pt )
<capt i on> Def i nes a t abl e capt i on
<cent er > Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes cent er ed t ext
<ci t e> Def i nes t he t i t l e of a wor k
<code> Def i nes a pi ece of comput er code
<col > Speci f i es col umn pr oper t i es f or each col umn wi t hi n a <col gr oup> el ement
<col gr oup> Speci f i es a gr oup of one or mor e col umns i n a t abl e f or
f or mat t i ng
<dat al i st > Speci f i es a l i st of pr e- def i ned opt i ons f or i nput cont r ol s
<dd> Def i nes a descr i pt i on/ val ue of a t er mi n a descr i pt i on l i st
<del > Def i nes t ext t hat has been del et ed f r oma document
<det ai l s> Def i nes addi t i onal det ai l s t hat t he user can vi ew or hi de
<df n> Def i nes a def i ni t i on t er m
<di al og> Def i nes a di al og box or wi ndow
<di r > Not suppor t ed i n HTML5. Use <ul > i nst ead.
Def i nes a di r ect or y l i st
<di v> Def i nes a sect i on i n a document
<dl > Def i nes a descr i pt i on l i st
<dt > Def i nes a t er m/ name i n a descr i pt i on l i st
<em> Def i nes emphasi zed t ext
<embed> Def i nes a cont ai ner f or an ext er nal ( non- HTML) appl i cat i on
<f i el dset > Gr oups r el at ed el ement s i n a f or m
<f i gcapt i on> Def i nes a capt i on f or a <f i gur e> el ement
<f i gur e> Speci f i es sel f - cont ai ned cont ent
<f ont > Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes f ont , col or , and si ze f or t ext
<f oot er > Def i nes a f oot er f or a document or sect i on
<f or m> Def i nes an HTML f or mf or user i nput
<f r ame> Not suppor t ed i n HTML5.
Def i nes a wi ndow ( a f r ame) i n a f r ameset
<f r ameset > Not suppor t ed i n HTML5.
Def i nes a set of f r ames
<h1> t o <h6> Def i nes HTML headi ngs
<head> Def i nes i nf or mat i on about t he document
<header > Def i nes a header f or a document or sect i on
<hr > Def i nes a t hemat i c change i n t he cont ent
<ht ml > Def i nes t he r oot of an HTML document
<i > Def i nes a par t of t ext i n an al t er nat e voi ce or mood
<i f r ame> Def i nes an i nl i ne f r ame
Page 1
j i bi l ee
<i mg> Def i nes an i mage
<i nput > Def i nes an i nput cont r ol
<i ns> Def i nes a t ext t hat has been i nser t ed i nt o a document
<kbd> Def i nes keyboar d i nput
<keygen> Def i nes a key- pai r gener at or f i el d ( f or f or ms)
<l abel > Def i nes a l abel f or an <i nput > el ement
<l egend> Def i nes a capt i on f or a <f i el dset > el ement
<l i > Def i nes a l i st i t em
<l i nk> Def i nes t he r el at i onshi p bet ween a document and an ext er nal r esour ce
( most used t o l i nk t o st yl e sheet s)
<mai n> Speci f i es t he mai n cont ent of a document
<map> Def i nes a cl i ent - si de i mage- map
<mar k> Def i nes mar ked/ hi ghl i ght ed t ext
<menu> Def i nes a l i st / menu of commands
<menui t em> Def i nes a command/ menu i t emt hat t he user can i nvoke f r oma popup
menu
<met a> Def i nes met adat a about an HTML document
<met er > Def i nes a scal ar measur ement wi t hi n a known r ange ( a gauge)
<nav> Def i nes navi gat i on l i nks
<nof r ames> Not suppor t ed i n HTML5.
Def i nes an al t er nat e cont ent f or user s t hat do not suppor t f r ames
<noscr i pt > Def i nes an al t er nat e cont ent f or user s t hat do not suppor t
cl i ent - si de scr i pt s
<obj ect > Def i nes an embedded obj ect
<ol > Def i nes an or der ed l i st
<opt gr oup> Def i nes a gr oup of r el at ed opt i ons i n a dr op- down l i st
<opt i on> Def i nes an opt i on i n a dr op- down l i st
<out put > Def i nes t he r esul t of a cal cul at i on
<p> Def i nes a par agr aph
<par am> Def i nes a par amet er f or an obj ect
<pr e> Def i nes pr ef or mat t ed t ext
<pr ogr ess> Repr esent s t he pr ogr ess of a t ask
<q> Def i nes a shor t quot at i on
<r p> Def i nes what t o show i n br owser s t hat do not suppor t r uby annot at i ons
<r t > Def i nes an expl anat i on/ pr onunci at i on of char act er s ( f or East Asi an
t ypogr aphy)
<r uby> Def i nes a r uby annot at i on ( f or East Asi an t ypogr aphy)
<s> Def i nes t ext t hat i s no l onger cor r ect
<samp> Def i nes sampl e out put f r oma comput er pr ogr am
<scr i pt > Def i nes a cl i ent - si de scr i pt
<sect i on> Def i nes a sect i on i n a document
<sel ect > Def i nes a dr op- down l i st
<smal l > Def i nes smal l er t ext
<sour ce> Def i nes mul t i pl e medi a r esour ces f or medi a el ement s ( <vi deo> and
<audi o>)
<span> Def i nes a sect i on i n a document
<st r i ke> Not suppor t ed i n HTML5. Use <del > i nst ead.
Def i nes st r i ket hr ough t ext
<st r ong> Def i nes i mpor t ant t ext
<st yl e> Def i nes st yl e i nf or mat i on f or a document
<sub> Def i nes subscr i pt ed t ext
<summar y> Def i nes a vi si bl e headi ng f or a <det ai l s> el ement
<sup> Def i nes super scr i pt ed t ext
<t abl e> Def i nes a t abl e
<t body> Gr oups t he body cont ent i n a t abl e
<t d> Def i nes a cel l i n a t abl e
<t ext ar ea> Def i nes a mul t i l i ne i nput cont r ol ( t ext ar ea)
<t f oot > Gr oups t he f oot er cont ent i n a t abl e
<t h> Def i nes a header cel l i n a t abl e
<t head> Gr oups t he header cont ent i n a t abl e
<t i me> Def i nes a dat e/ t i me
<t i t l e> Def i nes a t i t l e f or t he document
<t r > Def i nes a r ow i n a t abl e
<t r ack> Def i nes t ext t r acks f or medi a el ement s ( <vi deo> and <audi o>)
<t t > Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes t el et ype t ext
<u> Def i nes t ext t hat shoul d be st yl i st i cal l y di f f er ent f r omnor mal t ext
<ul > Def i nes an unor der ed l i st
Page 2
j i bi l ee
<var > Def i nes a var i abl e
<vi deo> Def i nes a vi deo or movi e
<wbr > Def i nes a possi bl e l i ne- br eak
<acr onym> Not suppor t ed i n HTML5. Use <abbr > i nst ead.
Def i nes an acr onym
<abbr > Def i nes an abbr evi at i on
<addr ess> Def i nes cont act i nf or mat i on f or t he aut hor / owner of a
document / ar t i cl e
<b> Def i nes bol d t ext
<bdi > I sol at es a par t of t ext t hat mi ght be f or mat t ed i n a di f f er ent di r ect i on
f r omot her t ext out si de i t
<bdo> Over r i des t he cur r ent t ext di r ect i on
<bi g> Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes bi g t ext
<bl ockquot e> Def i nes a sect i on t hat i s quot ed f r omanot her sour ce
<cent er > Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes cent er ed t ext
<ci t e> Def i nes t he t i t l e of a wor k
<code> Def i nes a pi ece of comput er code
<del > Def i nes t ext t hat has been del et ed f r oma document
<df n> Def i nes a def i ni t i on t er m
<em> Def i nes emphasi zed t ext
<f ont > Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes f ont , col or , and si ze f or t ext
<i > Def i nes a par t of t ext i n an al t er nat e voi ce or mood
<i ns> Def i nes a t ext t hat has been i nser t ed i nt o a document
<kbd> Def i nes keyboar d i nput
<mar k> Def i nes mar ked/ hi ghl i ght ed t ext
<met er > Def i nes a scal ar measur ement wi t hi n a known r ange ( a gauge)
<pr e> Def i nes pr ef or mat t ed t ext
<pr ogr ess> Repr esent s t he pr ogr ess of a t ask
<q> Def i nes a shor t quot at i on
<r p> Def i nes what t o show i n br owser s t hat do not suppor t r uby annot at i ons
<r t > Def i nes an expl anat i on/ pr onunci at i on of char act er s ( f or East Asi an
t ypogr aphy)
<r uby> Def i nes a r uby annot at i on ( f or East Asi an t ypogr aphy)
<s> Def i nes t ext t hat i s no l onger cor r ect
<samp> Def i nes sampl e out put f r oma comput er pr ogr am
<smal l > Def i nes smal l er t ext
<st r i ke> Not suppor t ed i n HTML5. Use <del > i nst ead.
Def i nes st r i ket hr ough t ext
<st r ong> Def i nes i mpor t ant t ext
<sub> Def i nes subscr i pt ed t ext
<sup> Def i nes super scr i pt ed t ext
<t i me> Def i nes a dat e/ t i me
<t t > Not suppor t ed i n HTML5. Use CSS i nst ead.
Def i nes t el et ype t ext
<u> Def i nes t ext t hat shoul d be st yl i st i cal l y di f f er ent f r omnor mal t ext
<var > Def i nes a var i abl e
<wbr > Def i nes a possi bl e l i ne- br eak
For ms and I nput
Tag Descr i pt i on
<f or m> Def i nes an HTML f or mf or user i nput
<i nput > Def i nes an i nput cont r ol
<t ext ar ea> Def i nes a mul t i l i ne i nput cont r ol ( t ext ar ea)
<but t on> Def i nes a cl i ckabl e but t on
<sel ect > Def i nes a dr op- down l i st
<opt gr oup> Def i nes a gr oup of r el at ed opt i ons i n a dr op- down l i st
<opt i on> Def i nes an opt i on i n a dr op- down l i st
<l abel > Def i nes a l abel f or an <i nput > el ement
<f i el dset > Gr oups r el at ed el ement s i n a f or m
<l egend> Def i nes a capt i on f or a <f i el dset > el ement
<dat al i st > Speci f i es a l i st of pr e- def i ned opt i ons f or i nput cont r ol s
<keygen> Def i nes a key- pai r gener at or f i el d ( f or f or ms)
<out put > Def i nes t he r esul t of a cal cul at i on
Fr ames
Tag Descr i pt i on
<f r ame> Not suppor t ed i n HTML5.
Page 3
j i bi l ee
Def i nes a wi ndow ( a f r ame) i n a f r ameset
<f r ameset > Not suppor t ed i n HTML5.
Def i nes a set of f r ames
<nof r ames> Not suppor t ed i n HTML5.
Def i nes an al t er nat e cont ent f or user s t hat do not suppor t f r ames
<i f r ame> Def i nes an i nl i ne f r ame
I mages
Tag Descr i pt i on
<i mg> Def i nes an i mage
<map> Def i nes a cl i ent - si de i mage- map
<ar ea> Def i nes an ar ea i nsi de an i mage- map
<canvas> Used t o dr aw gr aphi cs, on t he f l y, vi a scr i pt i ng ( usual l y
J avaScr i pt )
<f i gcapt i on> Def i nes a capt i on f or a <f i gur e> el ement
<f i gur e> Speci f i es sel f - cont ai ned cont ent
Audi o / Vi deo
Tag Descr i pt i on
<audi o> Def i nes sound cont ent
<sour ce> Def i nes mul t i pl e medi a r esour ces f or medi a el ement s ( <vi deo> and
<audi o>)
<t r ack> Def i nes t ext t r acks f or medi a el ement s ( <vi deo> and <audi o>)
<vi deo> Def i nes a vi deo or movi e
Li nks
Tag Descr i pt i on
<a> Def i nes a hyper l i nk
<l i nk> Def i nes t he r el at i onshi p bet ween a document and an ext er nal r esour ce
( most used t o l i nk t o st yl e sheet s)
<nav> Def i nes navi gat i on l i nks
Li st s
Tag Descr i pt i on
<ul > Def i nes an unor der ed l i st
<ol > Def i nes an or der ed l i st
<l i > Def i nes a l i st i t em
<di r > Not suppor t ed i n HTML5. Use <ul > i nst ead.
Def i nes a di r ect or y l i st
<dl > Def i nes a descr i pt i on l i st
<dt > Def i nes a t er m/ name i n a descr i pt i on l i st
<dd> Def i nes a descr i pt i on of a t er m/ name i n a descr i pt i on l i st
<menu> Def i nes a l i st / menu of commands
<menui t em> Def i nes a command/ menu i t emt hat t he user can i nvoke f r oma popup
menu
Tabl es
Tag Descr i pt i on
<t abl e> Def i nes a t abl e
<capt i on> Def i nes a t abl e capt i on
<t h> Def i nes a header cel l i n a t abl e
<t r > Def i nes a r ow i n a t abl e
<t d> Def i nes a cel l i n a t abl e
<t head> Gr oups t he header cont ent i n a t abl e
<t body> Gr oups t he body cont ent i n a t abl e
<t f oot > Gr oups t he f oot er cont ent i n a t abl e
<col > Speci f i es col umn pr oper t i es f or each col umn wi t hi n a <col gr oup> el ement
<col gr oup> Speci f i es a gr oup of one or mor e col umns i n a t abl e f or
f or mat t i ng
St yl es and Semant i cs
Tag Descr i pt i on
<st yl e> Def i nes st yl e i nf or mat i on f or a document
<di v> Def i nes a sect i on i n a document
<span> Def i nes a sect i on i n a document
<header > Def i nes a header f or a document or sect i on
<f oot er > Def i nes a f oot er f or a document or sect i on
<sect i on> Def i nes a sect i on i n a document
<ar t i cl e> Def i nes an ar t i cl e
<asi de> Def i nes cont ent asi de f r omt he page cont ent
<det ai l s> Def i nes addi t i onal det ai l s t hat t he user can vi ew or hi de
<di al og> Def i nes a di al og box or wi ndow
<summar y> Def i nes a vi si bl e headi ng f or a <det ai l s> el ement
Met a I nf o
Page 4
j i bi l ee
Tag Descr i pt i on
<head> Def i nes i nf or mat i on about t he document
<met a> Def i nes met adat a about an HTML document
<base> Speci f i es t he base URL/ t ar get f or al l r el at i ve URLs i n a document
<basef ont > Not suppor t ed i n HTML5. Use CSS i nst ead.
Speci f i es a def aul t col or , si ze, and f ont f or al l t ext i n a document
Pr ogr ammi ng
Tag Descr i pt i on
<scr i pt > Def i nes a cl i ent - si de scr i pt
<noscr i pt > Def i nes an al t er nat e cont ent f or user s t hat do not suppor t
cl i ent - si de scr i pt s
<appl et > Not suppor t ed i n HTML5. Use <obj ect > i nst ead.
Def i nes an embedded appl et
<embed> Def i nes a cont ai ner f or an ext er nal ( non- HTML) appl i cat i on
<obj ect > Def i nes an embedded obj ect
<par am> Def i nes a par amet er f or an obj ect
Page 5