HTML Tags
Every valid HTML tag, what they’re used for, and how they can be used..
a
abbr
address
area
article
aside
audio
b
base
bdi
bdo
blockquote
body
br
button
canvas
caption
cite
code
col
colgroup
data
datalist
dd
del
dfn
div
dl
dt
em
embed
fieldset
figcaption
figure
footer
form
h1 - h6
head
header
hr
html
i
iframe
img
input
ins
kbd
keygen
label
legend
li
link
main
map
mark
meta
meter
nav
noscript
object
ol
optgroup
option
output
p
param
pre
progress
q
rb
rp
rt
rtc
ruby
s
samp
script
section
select
small
source
span
strong
style
sub
sup
table
tbody
td
template
textarea
tfoot
th
thead
time
title
tr
track
u
ul
var
video
wbr
By Category
The Root Element
Metadata
Sections
Grouping
Text
a
em
strong
cite
q
dfn
abbr
data
time
code
var
samp
kbd
mark
ruby
rb
rt
rp
rtc
bdi
bdo
span
br
wbr
small
i
b
u
s
sub
sup
Edits
Embedded Content
Tables
Forms
form
input
textarea
select
option
optgroup
datalist
label
fieldset
legend
button
output
progress
meter
keygen
Scripting
Usage
HTML tags mark the beginning and end of HTML elements and may contain attributes. They are used as follows:
<tagname>Element content</tagname>
<tagname attributename="attributevalue">Element content</tagname>
<!-- or, for the few attributes without values, simply: -->
<tagname attributename>Element content</tagname>
<!-- or, for the few elements without content, simply: -->
<tagname>
<tagname attributename="attributevalue">
Global attributes can be used with every tag, alongside the specific attributes listed in each page.