<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 表单新属性 novalidate 实例</title>
</head>
<body>
<form action="/static/example/html5/form.php" method="get" novalidate="novalidate">
电子邮件:<input type="email" name="user_email" />
<input type="submit" />
</form>
<p>当我们使用novalidate属性后,浏览器在提交数据时不会对电子邮件地址进行合法验证</p>
</body>
</html>