novalidate

<form action="demo_form.asp" novalidate="novalidate">
  E-mail: <input type="email" name="user_email" />
  <input type="submit" />
</form>

novalidate 属性规定当提交表单时不对其进行验证。

如果使用该属性,则表单不会验证表单的输入。

posted @ 2019-07-11 16:27  一条有梦想的海洋咸鱼  阅读(555)  评论(0编辑  收藏  举报