1.邮箱的验证
<form action="../js/test9.html" method="get">
Email<input type="email" name="getEmail">
<input type="submit" value="提交">
</form>
2.url验证
<form action="../js/test9.html" method="get">
url<input type="url" name="getUrl" >
<input type="submit" value="提交">
</form>
3.number验证
<form action="../js/test9.html" method="get">
number<input type="number" name="getNumber" min="1" max="2" >
<input type="submit" value="提交">
</form>
4.range的验证
<form action="../js/test9.html" method="get">
range<input type="range" name="getRange" min="1" max="4" >
<input type="submit" value="提交">
</form>