<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<p>novalidate 属性规定在提交表单时不应该验证 form 或 input 域</p>
<p>
注释:novalidate 属性适用于 form
以及以下类型的 input 标签:text, search, url, telephone,
email, password, date pickers, range 以及 color.
</p>
<p>当前设置了novalidate则不在提交时验证email的合法性</p>
<form action="text.asp" method="get" autocomplete="on" id="usre_form" novalidate="novalidate">
<p>请填写并提交此表单,然后重载页面,来查看自动完成功能是如何工作的.</p>
<p>请注意,表单的自动完成功能是打开的,而 e-mail 域是关闭的.</p>
<p>自己感觉是提交后,退回前页面原输入的内容被保留了</p>
<p>autofocus 属性规定在页面加载时,域自动地获得焦点.</p>
<p>autofocus 属性适用于所有 input 标签的类型.</p>
FirstName:<input type="text" name="fname" autofocus="autofocus" /><br /><br />
LastName:<input type="text" name="lname" /><br /><br />
E-mail: <input type="email" name="email" autocomplete="off" /><br />
<input type="submit" />
<p>表单重写属性(form override attributes)允许您重写 form 元素的某些属性设定.</p>
<p>表单重写属性有:</p>
<p>formaction - 重写表单的 action 属性</p>
<p>formenctype - 重写表单的 enctype 属性</p>
<p>formmethod - 重写表单的 method 属性</p>
<p>formnovalidate - 重写表单的 novalidate 属性</p>
<p>formtarget - 重写表单的 target 属性</p>
<p>注释:表单重写属性适用于以下类型的 input 标签:submit 和 image.</p>
<input type="submit" formaction="demo_admin.asp" value="Submit as admin" /><br />
<input type="image" src="1.png" width="300" height="80" />
<p>multiple 属性规定输入域中可选择多个值.</p>
<p>注释:multiple 属性适用于以下类型的 input 标签:email 和 file.</p>
Select images: <input type="file" name="img" multiple="multiple" />
</form>
</body>
</html>
<script type="text/javascript">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<p>novalidate 属性规定在提交表单时不应该验证 form 或 input 域</p>
<p>
注释:novalidate 属性适用于 form
以及以下类型的 input 标签:text, search, url, telephone,
email, password, date pickers, range 以及 color.
</p>
<p>当前设置了novalidate则不在提交时验证email的合法性</p>
<form action="text.asp" method="get" autocomplete="on" id="usre_form" novalidate="novalidate">
<p>请填写并提交此表单,然后重载页面,来查看自动完成功能是如何工作的.</p>
<p>请注意,表单的自动完成功能是打开的,而 e-mail 域是关闭的.</p>
<p>自己感觉是提交后,退回前页面原输入的内容被保留了</p>
<p>autofocus 属性规定在页面加载时,域自动地获得焦点.</p>
<p>autofocus 属性适用于所有 input 标签的类型.</p>
FirstName:<input type="text" name="fname" autofocus="autofocus" /><br /><br />
LastName:<input type="text" name="lname" /><br /><br />
E-mail: <input type="email" name="email" autocomplete="off" /><br />
<input type="submit" />
<p>表单重写属性(form override attributes)允许您重写 form 元素的某些属性设定.</p>
<p>表单重写属性有:</p>
<p>formaction - 重写表单的 action 属性</p>
<p>formenctype - 重写表单的 enctype 属性</p>
<p>formmethod - 重写表单的 method 属性</p>
<p>formnovalidate - 重写表单的 novalidate 属性</p>
<p>formtarget - 重写表单的 target 属性</p>
<p>注释:表单重写属性适用于以下类型的 input 标签:submit 和 image.</p>
<input type="submit" formaction="demo_admin.asp" value="Submit as admin" /><br />
<input type="image" src="1.png" width="300" height="80" />
<p>multiple 属性规定输入域中可选择多个值.</p>
<p>注释:multiple 属性适用于以下类型的 input 标签:email 和 file.</p>
Select images: <input type="file" name="img" multiple="multiple" />
</form>
</body>
</html>
<script type="text/javascript">
</script>