H5新增type类型
邮箱:<input type= "email">
网址:<input type="url">
搜索:<input type="search">
电话:<input type="tel">
适用于移动端
数字:<input type="number" min=" 最小值" max="最大值" value=" 当前值" step="步长">
范围:<input type="range" min="最小值” max=" 最大值" value="当前值” step="步长">
颜色:<input type="color">
日期:<input type= "date">
月:<input type= "month">
周:<input type= "week">
原文:https://www.cnblogs.com/geze/p/14475762.html