html表单(文本框、密码、单选、复选、提交、重置、普通、隐藏、文件按钮、下拉选项)

<form action="#" method="get/post" id="">


********************文本框*************************<br/>
<input type="text" id="myinput_1" /><br/>


********************密码字段*************************<br/>
<input type="password" id="myinput_2" /><br/>


********************单选按钮*************************<br/>
0<input type="radio" id="myinput_3" name="hehe" />
1<input type="radio" id="myinput_4" name="hehe" />
2<input type="radio" id="myinput_5" name="hehe" /><br/>
3<input type="radio" id="myinput_6" name="hehe2" />
4<input type="radio" id="myinput_7" name="hehe2" /><br/>


********************复选按钮*************************<br/>
0<input type="checkbox" />
1<input type="checkbox" />
2<input type="checkbox" /><br/>
3<input type="checkbox"  />
4<input type="checkbox" /><br/>


********************提交按钮*************************<br/>
<input type="submit" value="来点我"><br/>
********************重置按钮*************************<br/>
<input type="reset" value="来点我"><br/>
********************普通按钮*************************<br/>
<input type="button" value="来点我"><br/>
********************隐藏按钮*************************<br/>
<input type="hidden" value="来点我"><br/>
********************文件按钮*************************<br/>
<input type="file"><br/>


********************下拉表单*************************<br/>
<select size="2"> 
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</form>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值