主頁
HTML
HTML 表單屬性
Tryit: novalidate 屬性
執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <h1>The form novalidate attribute</h1> <p>The novalidate attribute indicates that the form input is not to be validated on submit:</p> <form action="/action_page.php" novalidate> <label for="email">Enter your email:</label> <input type="email" id="email" name="email"><br><br> <input type="submit"> </form> </body> </html>