html中怎么设置单选按钮必选,比如性别
2个回答
展开全部
单选返坦按钮RADIO
<FROM>
<INPUT Type="radio" name="field_name" value="value">
</漏历桐FROM>
<tr>
<td width="50%" height="50" align="center">性别: </td>
<td height="50"烂好 height="50">
<td>
<form><input type="radio" name="sex" value="0" checked />男
<input type="radio" name="sex" value="1" />女</form>
</td></tr>
<FROM>
<INPUT Type="radio" name="field_name" value="value">
</漏历桐FROM>
<tr>
<td width="50%" height="50" align="center">性别: </td>
<td height="50"烂好 height="50">
<td>
<form><input type="radio" name="sex" value="0" checked />男
<input type="radio" name="sex" value="1" />女</form>
</td></tr>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询