HP制作者、Web開発者向けのHTMLタグリファレンス・使用方法・サンプル

【タグ・属性対応表】

   ○:指定可能 ◎:HTML5以降で追加属性 ●:HTML5以降に廃止(非推奨)
   グローバル属性は、記載していません。グローバル属性のみのタグは、記載してません。

タグ
属性 a area audio base blockquote
q
body br button canvas caption
div
h1
legend
p
col
colgroup
data datalist del
ins
details dialog dl embed fieldset form h1 head hr html iframe img input keygen label li link map
slot
meta meter object ol optgroup option output param pre progress script select source style table tbody
tfoot
thead
td template textarea th time tr track ul video
abbr
accept
align
alt
autocomplete
autofocus
autoplay
axis
bgcolor
blocking
border
char
charoff
charset
cite
colspan
compact
controls
coords
crossorigin
datetime
dirname
disabled
download
fetchpriority
for
form
formaction
formenctype
formmethod
formnovalidate
formtarget
headers
height
href
hreflang
hspace
inputmode
integrity
label
loading
longdesc
loop
max
maxlength
media
mediagroup
min
minlength
multiple
muted
name
nowrap
ping
placeholder
popovertarget
popovertargetaction
preload
readonly
referrerpolicy
rel
required
rev
rowspan
scope
shape
size
sizes
span
src
srcset
target
type
usemap
valign
value
vspace
width
上記以外の
指定可能な属性
accept-charset
action
enctype
method
ismap checked content
http-equiv
data start selected defer cols
rows
上記以外の
HTML5以降で追加された
指定可能な属性
id open open novalidate allow
allowfullscreen
sandbox
srcdoc
decoding list
pattern
step
challenge
keytype
as
color
imagesizes
imagesrcset
high
low
optimum
reversed async
nomodule
sortable shadowrootclonable
shadowrootdelegatesfocus
shadowrootmode
shadowrootserializable
wrap default
kind
srclang
playsinline
poster
上記以外の
HTML5以降で廃止(非推奨)の
属性
datasrc
datafld
methods
urn
nohref mediagroup alink
background
bottommargin
leftmargin
link
marginheight
marginwidth
rightmargin
text
topmargin
vlink
clear datasrc
datafld
dataformatas
divと
legendのみ
datasrc
datafld
dataformatas
datafld profile color
noshade
manifest
version
allowtransparency
datasrc
datafld
frameborder
framespacing
marginheight
marginwidth
scrolling
datasrc
datafld
lowsrc
datasrc
datafld
dataformatas
ismap
datasrc
datafld
dataformatas
methods
urn
scheme archive
classid
code
codebase
codetype
datasrc
datafld
dataformatas
declare
standby
typemustmatch
datasrc
dataformatas
valuetype event
language
datasrc
datafld
dataformatas
background
bordercolor
cellpadding
cellspacing
datapagesize
datasrc
dataformatas
frame
rules
summary
background background datasrc
datafld
background
sorted
background mediagroup
※Grid : MIT-style license. Copyright 2012 Matt V. Murphy