编辑你的代码:
<!DOCTYPE html> <html> <body> <form action="/html5/tryit/demo_form"> E-mail: <input type="email" name="userid"><br> <input type="submit" value="提交"><br> <input type="submit" formnovalidate value="无校验的"> </form> <p><strong>注意:</strong> input标签的formnovalidate属性不支持IE9和更早的IE更早版本,或苹果浏览器.</p> </body> </html>
查看结果:
phpxuexi.net
- 亲自试一试