源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <form action="action_page.php" novalidate> E-mail: <input type="email" name="user_email"> <input type="submit"> </form> <p><strong>注意:</strong> 注意IE9之前的版本和Safari都不支持novalidate属性 </p> </body> </html>
运行结果