运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 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>