html第十二课input

名字:<input type="text" name="username" value=".."/><br/>
密码:<input type="password" name="pwd"/><br/>

***喜欢的水果***<br/>
<input type="checkbox" name="v1">西瓜<br/>
<input type="checkbox" name="v1">苹果<br/>

***你的性别***<br/>
<input type="radio" name="sex">男<br/>
<input type="radio" name="sex">女<br/>

***隐藏(既可提交数据又不影响界面)<br/>
<input type="hidden" value="123" name="sal"/>

***下拉选择****<br/>
<select name="biradd">
<option value="">--请输入--</option>
<option value="beijing">北京</option>
<option value="cq">重庆</option>
<option value="sh">上海</option>
</select>

***请留言***<br/>
<textarea cols="30" rows="10">请输入...</textarea><br/>

***请选择你要上传的文件<br/>
<input type="file" name="myfile"/>请选择文件

猜你喜欢

转载自blog.csdn.net/cj1064789374/article/details/86319507