1、text - 文本框
element/form/input/text.html
<!doctype html>
<html>
<head>
<title>text</title>
</head>
<body>
<!--
text - 文本框
autocomplete - 是否启用自动完成功能,“on”或“off”
placeholder - 提示文本(Opera 支持此标准)
-->
<input type="text" autocomplete="on" placeholder="请输入。。。" />
</body>
</html>
2、password - 密码框
element/form/input/password.html
<!doctype html>
<html>
<head>
<title>password</title>
</head>
<body>
<!--
password - 密码框
-->
<input type="password" value="111111" />
<script type="text/javascript">
alert(document.getElementsByTagName("input")[0].value);
</script>
</body>
</html>