国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

HTML5 ??? ??? ??

?? ??? ?? ??? ?? ??

1) autofocus ??

="text" autofocus ="autofocus"/> ? ??? ?? ???? ?? ??? ??? ? ???? ??? ??? ? ????.

2) max, min, step??? ??? ???? ?? ??? ???? ????.

3) ?? ???:??? ??? ???? ?? ?????.

4) ??: ?? ??? ??? ?????. ? ??? ???? ?? ??? ???? ? ????.

5) ??? ?? ??: ?? ??? ???? ?? ?? ?? ??? ??? ??? ??? ??? ?? ? ?? ??? ????? ?? ???? ?????.

Jq Validate? ??? ?? ????? ????. ?? ?? ??? ??? ???????.

??: input type="text" autofocus="autofocus" ?? ??="d+" />

6) ? ?? ? ?? ??? ?? ??? ??? ????. ?, ?? ??? <form></form>?? ??? ?? ?? ?? ??? ??? ??? ??? ? ????.

??? ???????. <input type="text" form="demoForm" name="demo"/>

? ??? ???????. ?? ?? ??

1) novalidate ??? ??? ??? ? ?? ?? ?? ??? ???? ???? ??? ?????.

??: <form action="" method="POST" novalidate="true"></form>

2)autocomplete ??? ??? ?????. ?? ?? ??? ?? ?? ??? ??? ???.

????


???? ??
||
<body> <!-- placeholder:用于在文本框未輸入時(shí)提示作用 autofocus:用于控件自動(dòng)獲取焦點(diǎn) --> <input type="search" name="key" value="" results="s" placeholder="君樂寶" autofocus="true"> <input type="button" name="" value="搜索"> <br> <!-- novalidate:在控件中加入了required、emial、url等驗(yàn)證后,如果想讓這些驗(yàn)證失效,可以在表單中將novalidate設(shè)置為tyue --> <form action="upload.php" method="post" accept-charset="utf-8" id="form1" novalidate="true"> <!-- required:必填 autocomplete:在網(wǎng)頁的文本框中輸入部分內(nèi)容或者雙節(jié)時(shí),經(jīng)常會(huì)看到在下面顯示輸入過的內(nèi)容, 這就是html5的新特性:自動(dòng)完成,如果不想使用此功能,將其設(shè)置為off即可 --> <input type="text" name="UserName" value="" required autocomplete="off"> <br> <!-- multiple:在選擇文件時(shí),默認(rèn)只能單選,加上這個(gè)屬性后,則可以使用鼠標(biāo)選中多個(gè)文件進(jìn)行上傳 --> 選擇文件 <input type="file" name="upload" value="" multiple="multiple"> <br> <!-- list:這個(gè)屬性要和datalist元素一起使用,指定此文本框的可選擇項(xiàng),另外其相較于select的優(yōu)點(diǎn)在于還可以輸入 --> 區(qū)號(hào): <input type="text" name="age" value="" list="list1"> <br> <datalist id="list1"> <option value="0312">保定</option> <option value="0311">石家莊</option> <option value="010">北京</option> <option value="0313">唐山</option> </datalist> <!-- formaction:可以更改點(diǎn)擊此按鈕式提交到服務(wù)器的處理程序 formmethod:可以更改向服務(wù)器提交數(shù)據(jù)的方式 --> <input type="submit" name="subsave" value="提交"> <input type="submit" name="subresset" value="更改" formaction="1.php" formmethod="get"> </form> </body>