<body> |
|
|
|
|
|
|
|
|
|
|
|
<form action="#" method="get"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
用户名:<input type="text" value="小黑" name="userName" readonly="readonly"/> <br/> |
|
密码:<input type="password" name="pwd"/><br/> |
|
性别:<input type="radio" name="sex"> |
|
<input type="radio" name="sex"><br/> |
|
是否同意条款:<input type="checkbox"> |
|
是否同意条款:<input type="checkbox"> |
|
是否同意条款:<input type="checkbox"> |
|
是否同意条款:<input type="checkbox"><br/> |
|
请选择月份:<select > |
|
<option>月份</option> |
|
<option>1月份</option> |
|
<option>2月份</option> |
|
<option>3月份</option> |
|
<option>4月份</option> |
|
</select><br/> |
|
请输入内容: |
|
<textarea name="text"> |
|
这是一个多行文本域 |
|
</textarea> <br/> |
|
请选择文件: |
|
<input type="file"/><br/> |
|
|
|
选择日期: |
|
<input type="date" min="1999-01-01"><br/> |
|
<input type="date" max="2016-10-01"><br/> |
|
|
|
时间:<input type="time" value="14:44"/><br/> |
|
|
|
<input type="number" max="12" min="1" /> |
|
|
|
|
|
<button type="submit" disabled="disabled">注册</button><br/> |
|
<input type="reset" value="重置"> |
|
隐藏域:<input type="hidden" name="hi"> |
|
</form> |
|
</body> |
|
</html> |