当前位置: 代码迷 >> 综合 >> html5 新增 inputtype值
  详细解决方案

html5 新增 inputtype值

热度:82   发布时间:2024-01-21 01:19:27.0

旧的:

text  password  checkbox  radio  submit  reset  button  file

新的:

文本输入类:

email

url

number     属性 max/min/step  (最大值,最小值,每次增加的数量)

tel

search

范围选择:

range    属性:max/min/step 

颜色选择:

color

时间日期:

date   month   week  time  datetime-local