HTML5 ??? ?? ??
HTML5 ? ?? ??
?? ??? ??? ?? ????????.
HTML5?? ??? ?? ? ?? ??? ????.
< datalist>
<keygen>
<output>
??: ?? ????? ??? HTML5 ?? ??? ???? ?? ???? ??? ? ????. ?? ??? ???? ??? ??? ?? ?? ??? ??? ? ????.
???? ??? ???????:
HTML5 <datalist> ??
<datalist> ?? ???? ?? ?? ?????.
<datalist> ??? ?? ?? ?? ??? ?? ?? ??? ??? ?? ?????. ???? ?? ???? ??? ??? ???? ????? ?? ??? ??? ??? ???? ???.
<input> ??? ?? ??? ???? <datalist> ??? ??????.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <form action="demo-form.php" method="get"> <input list="phone" name="phone"> <datalist id="phone"> <option value="huawei"> <option value="oppo"> <option value="vivo"> <option value="iphone"> <option value="sony"> </datalist> <input type="submit"> </form> <p><strong>注意:</strong> Internet Explorer 9(更早IE版本),Safari不支持 datalist 標(biāo)簽。</p> </body> </html>
HTML5 <keygen> ??
<keygen> ??? ??? ??? ? ?? ??? ?? ??? ???? ????.
<keygen> ??? ??? ??? ? ? ?? ??? ?????.
??? ???? ? ?? ?? ?????. ??? ?? ??? ?? ??? ?? ????.
???? ?????? ????, ???? ??? ?????. ?? ?? ??? ???? ????? ???? ???? ? ??? ? ????.
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <form action="demo_keygen.php" method="get"> 用戶名: <input type="text" name="usr_name"> 加密: <keygen name="security"> <input type="submit"> </form> <p><strong>注意:</strong> Internet Explorer 不支持 keygen 標(biāo)簽。</p> </body> </html>
?? ? ??
?? ??? ?????? ???? ??? ? keygen ??? ??? ?????.
??? ???? ???? ?? ?? ? ??? ?? ?? ?????. ~ ~???????????????????????????????????????????????????ol
name Fieldname? keygen ??? ??? ??? ?????.
?????????????????????????????????????????????????????????????????????????????????~?????????? ?? ??? ??? ??? ? ?? ?? ???? ? ?????.
HTML5 <output> ??
<output> ??? ?? ?? ???? ??? ?? ??? ??? ??? ?????. <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" value="50">100
+<input type="number" id="b" value="50">
=<output name="x" for="a b"></output>
</form>
<p><strong>注意:</strong> Internet Explorer 不支持 output 標(biāo)簽。</p>
</body>
</html>
new : HTML5? ??? ?????. ?? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??? ??? ?? ??.