源代碼
點擊運行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>教程</title> </head> <body> <form action="demo-form.asp" novalidate> E-mail: <input type="email" name="user_email"> <input type="submit"> </form> <p><strong>注意:</strong>在 Safari 和 Internet Explorer 9 及之前的版本中不支持 novalidate 屬性。</p> </body> </html>
運行結果