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