1.表单 form
?
?
2. INPUT
?
<form action="#" method="get" id="myform" name="myform" >
编号:<input type="hidden" name="userId" value="1"/><br />
姓名:<input type="text" value="" name="username"/> <br />
密码:<input type="password" name="usePwd" maxlength="6" /><br />
性别:男<input type="radio" name="useSex" value="man" checked="checked"/>
女<input type="radio" name="useSex" value="woman" /> <br />
爱好:唱歌<input type="checkbox" name="userHobby" value="sing" />
跳舞<input type="checkbox" name="userHobby" value="dance" checked="checked"/>
说唱<input type="checkbox" name="userHobby" value="rap" disabled="disabled" /><br />
生日:<input type="date" name="userData"/><br />
头像:<input type="file" name="userHead" /><br />
<input type="button" value="普通按钮" />
<input type="reset" value="重置按钮" />
<input type="submit" value="提交 "/>
<input type="image" src="img/1.jpg" width="100px" />
?3.textarea
?
简介:<textarea name="remark" rows="5" cols="50">comment</textarea><br />
4.label
?
<label for="userName">姓名:</label><input type="text" id="userName" name="userName"/><br />
?5.button按钮
<button type="button">普通按钮</button>
<button type="submit">提交按钮</button>
<button type="reset">重置按钮</button>
6.select
城市:
<select name="city">
<option>请选择城市</option>
<option value="bj">北京</option>
<option value="sh">上海</option>
<option value="hz">杭州</option>
</select><br />
?7.常用字符实体
?
?
|