HTML Elements Index
A continuously updated list of all HTML and XHTML elements. Also consider the announcement with comments, notes, as well as the complementary CSS properties index.
Element (Meaning) ↓ | HTML 1 | HTML 2.0 | HTML 3.2 | HTML 4.01 | XHTML 1.0 | XHTML 1.1 | HTML 5.2 | HTML |
---|---|---|---|---|---|---|---|---|
1992 | 1995 | 1997 | 1999 | 2000 | 2010 | 2017 | — | |
a (anchor)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
abbr (abbreviation)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
acronym (acronym)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no |
address (author information)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
applet (Java applet)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
area (image map area)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
article (self-contained and distributable content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
aside (related content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
audio (audio content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
b (bold text style; since HTMLÂ 5: attention)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
base (document base URL)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
basefont (base font size)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
bdi (bidi isolation)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
bdo (bidi override)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
big (large text style)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no |
blockquote (long quotation)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
body (document body)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
br (line break)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
button (push button)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
canvas (bitmap canvas)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
caption (table caption)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
center (<div align="center"></div> )
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
cite (citation)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
code (code fragment)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
col (table column)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
colgroup (table column group)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
data (content with machine-readable equivalent)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
datalist (predefined options for form controls)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
dd (description)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
del (deleted text)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
details (disclosure widget)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
dfn (instance definition)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
dialog (user interaction)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
dir (directory list)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
div (generic container)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
dl (description list)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
dt (description term)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
em (emphasis)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
embed (integration point)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
fieldset (form control group)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
figcaption (figure caption)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
figure (self-contained flow content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
font (font style)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
footer (footer)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
form (form)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
frame (subwindow)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
frameset (window subdivision)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
h1 (heading)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
h2 (heading)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
h3 (heading)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
h4 (heading)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
h5 (heading)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
h6 (heading)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
head (document head)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
header (header)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
hgroup (heading and related content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes |
hr (thematic break)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
html (document root)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
i (italic text style; since HTMLÂ 5: alternate voice)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
iframe (inline subwindow)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś—Â no | âś“Â yes | âś“Â yes |
img (image content)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
input (input field)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
ins (inserted text)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
isindex (input field with text prompt)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
kbd (user input)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
label (form control caption)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
legend (fieldset caption)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
li (list item)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
link (resource link)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
listing (preformatted text, similar to pre )
| âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no |
main (dominant content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
map (image map)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
mark (marked reference text)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
menu (menu list)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś“Â yes |
meta (metadata)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
meter (scalar measurement)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
nav (navigation section)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
nextid (anchor name hint)
| âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no |
noframes (frame fallback)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
noscript (script fallback)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
object (generic content)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
ol (ordered list)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
optgroup (option group)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
option (selectable choice)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
output (calculation or user action output)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
p (paragraph)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
param (object parameter)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no |
picture (extended image content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
plaintext (preformatted plain-text)
| âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no |
pre (preformatted text)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
progress (progress of a task)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
q (short quotation)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
rb (ruby base)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś—Â no |
rp (ruby parentheses)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes |
rt (ruby text)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes |
rtc (ruby text container)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś—Â no |
ruby (ruby markup)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes |
s (struck-through text style; since HTMLÂ 5: irrelevance)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś—Â no | âś“Â yes | âś“Â yes |
samp (sample output)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
script (script)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
search (search controls or content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes |
section (generic section)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
select (option selector)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
slot (shadow tree slot)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes |
small (small text style; since HTMLÂ 5: small print)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
source (media content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
span (generic container)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
strike (struck-through text style)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no |
strong (strong emphasis; since HTMLÂ 5: importance)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
style (formatting)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
sub (subscript)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
summary (details caption)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
sup (superscript)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
table (table)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
tbody (table body)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
td (table data cell)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
template (fragment declaration)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
textarea (multi-line input field)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
tfoot (table footer)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
th (table header cell)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
thead (table header)
| âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
time (date, time, time zone offset, or duration)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
title (document title)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
tr (table row)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
track (text track)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
tt (teletype text style)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no |
u (underlined text style; since HTMLÂ 5: annotation)
| âś—Â no | âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś“Â yes | âś“Â yes |
ul (unordered list)
| âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
var (variable)
| âś—Â no | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes | âś“Â yes |
video (video content)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
wbr (line break opportunity)
| âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś“Â yes | âś“Â yes |
xmp (preformatted text, similar to pre )
| âś“Â yes | âś“Â yes | âś“Â yes | âś—Â no | âś—Â no | âś—Â no | âś—Â no | âś—Â no |
Number (out of 132) → | 22 | 49 | 70 | 91 | 91 | 83 | 111 | 112 |
HTML 1 | HTML 2.0 | HTML 3.2 | HTML 4.01 | XHTML 1.0 | XHTML 1.1 | HTML 5.2 | HTML |
Notes
-
Only the latest version of the W3C specification of HTMLÂ (5) is featured. This is done in order to limit confusion. For the latest in HTML, please refer to the WHATWGÂ specification.
-
Living HTML also knows
math
,svg
, and custom elements. As these represent the parent elements for special markup they’re not part of the index. (When counting HTML elements, this is important to mention.) -
XHTMLÂ 2.0 was once part of this index, but got removed because it never became a standard. You find the latest version of this index featuring XHTMLÂ 2.0 at archive.today.
-
If you like to study this and more information about the HTML standard in a book, consider Rote Learning HTML & CSS (2024). There’s also a Google spreadsheet with some extra detail if you want to focus on HTML, and work with the historical data.