<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>h5新增表单格式</title>
</head>
<body>
<!--
1.type:email (email地址类型)
当格式不符合email格式时,提交不会成功,会出现纠正提示
-在移动端获焦时会切换到英文键盘
2.type:tel (电话类型)
在移动端获焦时会切换到数字键盘
3.type:url (url类型)
当格式相符时才能提交通过
4.type:search (搜索类型)
有清空文本的按钮
5.type:range (电特定范围内的数值选择器)
属性:min、max、step
6.