基本表单验证特性
placeholder 灰色提示
html5表单新增类型:email、url、number、date(date,month,week,time,datetime,datetime-local)search、color、tel等
autocomplete 文本框输入一次,下一次在输入会自动提示
list和datalist
autofocus初始化input自动聚焦
placeholder 灰色提示
html5表单新增类型:email、url、number、date(date,month,week,time,datetime,datetime-local)search、color、tel等
autocomplete 文本框输入一次,下一次在输入会自动提示
list和datalist
autofocus初始化input自动聚焦