【inputタグのtype別の属性対応表】
◆input type=○:指定可能 ◎:HTML5で追加の属性◆ブラウザ別対応状況=○:対応済み ×:未対応(HTML5で追加の属性の2015/02時点の状況)
属性 | input type= | ブラウザ別 対応状況 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
search text | password | hidden | radio checkbox | file | submit | image | button reset | tel url | number | time date | range | color | IE | Ch | Fi | Sa | ||
accept | ○ | |||||||||||||||||
alt | ○ | |||||||||||||||||
autocomplete | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | × | ||||||
autofocus | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |
checked | ○ | |||||||||||||||||
dirname | ◎ | × | ○ | × | × | |||||||||||||
disabled | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |
form | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ |
formaction | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||||
formenctype | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||||
formmethod | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||||
formnovalidate | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||||
formtarget | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||||
height | ◎ | ○ | ○ | × | × | |||||||||||||
list | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |||||||
max | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |||||||||||
maxlength | ○ | ○ | ○ | ○ | ||||||||||||||
min | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |||||||||||
minlength | ◎ | ◎ | ◎ | ◎ | × | ○ | × | × | ||||||||||
multiple | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||||
name | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ||||
pattern | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||||||
placeholder | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |||||||||
readonly | ○ | ○ | ○ | ○ | ○ | ○ | ||||||||||||
required | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | ||||||
size | ○ | ○ | ○ | ○ | ||||||||||||||
src | ○ | |||||||||||||||||
step | ◎ | ◎ | ◎ | ○ | ○ | ○ | ○ | |||||||||||
value | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ○ | ||||
width | ◎ | ○ | ○ | × | × |