執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <h1>The button formnovalidate attribute</h1> <form action="/action_page.php" method="get"> <label for="email">Enter your email:</label> <input type="email" id="email" name="email"><br><br> <button type="submit">Submit</button> <button type="submit" formnovalidate>Submit without validation</button> </form> <p><strong>Note:</strong> The formnovalidate attribute of the button tag is not supported in Safari.</p> </body> </html>