编辑下面的代码:【加编码】
<html> <body> <form action="demo-form.php" method="get"> E-mail: <input type="email" name="userid"><br> <button type="submit">Submit</button><br> <button type="submit" formnovalidate>Submit without validation</button> </form> <p><strong>Note:</strong> The formnovalidate attribute of the button tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂