Elements and Valid DTDs They May Appear In

The table below lists the W3C-defined element types and states which HTML/XHTML doctype declarations (DTDs) each of these elements may appear in.

Table 1. Elements and Valid DTDs They May Appear In
Element HTML 2.0 HTML 3.2 HTML 4.01 Transitional HTML 4.01 Frameset HTML 4.01 Strict XHTML 1.0 Transitional XHTML 1.0 Frameset XHTML 1.0 Strict
a Yes Yes Yes Yes Yes Yes Yes Yes
abbr No No Yes Yes Yes Yes Yes Yes
acronym No No Yes Yes Yes Yes Yes Yes
address Yes Yes Yes Yes Yes Yes Yes Yes
applet No Yes Yes Yes No Yes Yes No
area No Yes Yes Yes Yes Yes Yes Yes
b No Yes Yes Yes Yes Yes Yes Yes
base Yes Yes Yes Yes Yes Yes Yes Yes
basefont No Yes Yes Yes No Yes Yes No
bdo No No Yes Yes Yes Yes Yes Yes
big No Yes Yes Yes Yes Yes Yes Yes
blockquote Yes Yes Yes Yes Yes Yes Yes Yes
body Yes Yes Yes Yes Yes Yes Yes Yes
br Yes Yes Yes Yes Yes Yes Yes Yes
button No No Yes Yes Yes Yes Yes Yes
caption No Yes Yes Yes Yes Yes Yes Yes
center No Yes Yes Yes No Yes Yes No
cite No Yes Yes Yes Yes Yes Yes Yes
code No Yes Yes Yes Yes Yes Yes Yes
col No No Yes Yes Yes Yes Yes Yes
colgroup No No Yes Yes Yes Yes Yes Yes
dd Yes Yes Yes Yes Yes Yes Yes Yes
del No No Yes Yes Yes Yes Yes Yes
dfn No Yes Yes Yes Yes Yes Yes Yes
dir Yes Yes Yes Yes No Yes Yes No
div No Yes Yes Yes Yes Yes Yes Yes
dl Yes Yes Yes Yes Yes Yes Yes Yes
dt Yes Yes Yes Yes Yes Yes Yes Yes
em No Yes Yes Yes Yes Yes Yes Yes
fieldset No No Yes Yes Yes Yes Yes Yes
font No Yes Yes Yes No Yes Yes No
form No Yes Yes Yes Yes Yes Yes Yes
frame No No No Yes No No Yes No
frameset No No No Yes No No Yes No
h1 Yes Yes Yes Yes Yes Yes Yes Yes
h2 Yes Yes Yes Yes Yes Yes Yes Yes
h3 Yes Yes Yes Yes Yes Yes Yes Yes
h4 Yes Yes Yes Yes Yes Yes Yes Yes
h5 Yes Yes Yes Yes Yes Yes Yes Yes
h6 Yes Yes Yes Yes Yes Yes Yes Yes
head Yes Yes Yes Yes Yes Yes Yes Yes
hr Yes Yes Yes Yes Yes Yes Yes Yes
html Yes Yes Yes Yes Yes Yes Yes Yes
i No Yes Yes Yes Yes Yes Yes Yes
iframe No No Yes Yes No Yes Yes No
img Yes Yes Yes Yes Yes Yes Yes Yes
input No Yes Yes Yes Yes Yes Yes Yes
ins No No Yes Yes Yes Yes Yes Yes
isindex Yes Yes Yes Yes No Yes Yes No
kbd No Yes Yes Yes Yes Yes Yes Yes
label No No Yes Yes Yes Yes Yes Yes
legend No No Yes Yes Yes Yes Yes Yes
li Yes Yes Yes Yes Yes Yes Yes Yes
link Yes Yes Yes Yes Yes Yes Yes Yes
map No Yes Yes Yes Yes Yes Yes Yes
menu Yes Yes Yes Yes No Yes Yes No
meta Yes Yes Yes Yes Yes Yes Yes Yes
nextid Yes No No No No No No No
noframes No No Yes Yes No Yes Yes No
noscript No No Yes Yes Yes Yes Yes Yes
object No No Yes Yes Yes Yes Yes Yes
ol Yes Yes Yes Yes Yes Yes Yes Yes
optgroup No No Yes Yes Yes Yes Yes Yes
option No Yes Yes Yes Yes Yes Yes Yes
p Yes Yes Yes Yes Yes Yes Yes Yes
param No Yes Yes Yes Yes Yes Yes Yes
pre Yes Yes Yes Yes Yes Yes Yes Yes
q No No Yes Yes Yes Yes Yes Yes
s No No Yes Yes No Yes Yes No
samp No Yes Yes Yes Yes Yes Yes Yes
script No Yes Yes Yes Yes Yes Yes Yes
select No Yes Yes Yes Yes Yes Yes Yes
small No Yes Yes Yes Yes Yes Yes Yes
span No No Yes Yes Yes Yes Yes Yes
strike No Yes Yes Yes No Yes Yes No
strong No Yes Yes Yes Yes Yes Yes Yes
style No Yes Yes Yes Yes Yes Yes Yes
sub No Yes Yes Yes Yes Yes Yes Yes
sup No Yes Yes Yes Yes Yes Yes Yes
table No Yes Yes Yes Yes Yes Yes Yes
tbody No No Yes Yes Yes Yes Yes Yes
td No Yes Yes Yes Yes Yes Yes Yes
textarea No Yes Yes Yes Yes Yes Yes Yes
tfoot No No Yes Yes Yes Yes Yes Yes
th No Yes Yes Yes Yes Yes Yes Yes
thead No No Yes Yes Yes Yes Yes Yes
title Yes Yes Yes Yes Yes Yes Yes Yes
tr No Yes Yes Yes Yes Yes Yes Yes
tt No Yes Yes Yes Yes Yes Yes Yes
u No Yes Yes Yes No Yes Yes No
ul Yes Yes Yes Yes Yes Yes Yes Yes
var No Yes Yes Yes Yes Yes Yes Yes

User-contributed notes

Related Products