邮件验证框
举例:
<input type="email" name="email">
只要输入的内容包含@就行
URL验证框
举例:
<input type="url" name="url">
数字框
举例:
<input type="number" name="num" max="100" min="10" step="10">
step表示每次点击增加的数量
滑块框
举例:
<input type="range" name="voice" max="100" min="10" step="2">
搜索框
举例:
<input type="search" name="search">