1 回答

TA贡献1条经验 获得超0个赞
<!-- 单选 -->
<form action="" method="get">
单选 <br>
<label><input name="danxuan" type="radio" value="" />A </label>
<label><input name="danxuan" type="radio" value="" />B </label>
<label><input name="danxuan" type="radio" value="" />C </label>
<label><input name="danxuan" type="radio" value="" />D </label>
<label><input name="danxuan" type="radio" value="" />E </label>
</form>
<!-- 复选 -->
<form action="" method="get">
复选 <br>
<label><input name="fuxuan" type="checkbox" value="" />A </label>
<label><input name="fuxuan" type="checkbox" value="" />B </label>
<label><input name="fuxuan" type="checkbox" value="" />C </label>
<label><input name="fuxuan" type="checkbox" value="" />D </label>
</form>
<!-- 文本框 -->
<form action='' method='post'>
文本框:<input type='text' name='text'>
<input type='submit' value='提交',name='sub'>
</form>
- 1 回答
- 0 关注
- 1880 浏览
相关问题推荐
添加回答
举报