html <radio>单选按钮控件标签
2019年11月30日
作者:佚名
html <radio>单选按钮表单控件
radio单选按钮应用截图
<input name="Fruit" type="radio" value="" />
使用html input标签,name为自定义,type类型为“radio”的表单,
二、radio单选按钮语法案例1、html代码片段:
<form action="" method="get"> 您最喜欢水果?<br /><br /> <label><input name="Fruit" type="radio" value="" />苹果 </label> <label><input name="Fruit" type="radio" value="" />桃子 </label> <label><input name="Fruit" type="radio" value="" />香蕉 </label> <label><input name="Fruit" type="radio" value="" />梨 </label> <label><input name="Fruit" type="radio" value="" />其它 </label> </form>
2、案例截图
html radio用法案例截图
3、html单选radio案例在线样式
演示:案例演示
扩展知识:
1、html input
2、html 多选按钮checkbox
3、html input提交按钮