第1个回答 2010-12-16
<Label><input type="radio" name="fruit" value = "Apple">苹果</Label>
这样也可以
如果你要把苹果2个字放到离 radio 很远的地方,那就按楼上诸位所言
第2个回答 2010-12-16
<input type="radio" name="fruit" value = "Apple" id="fruit">
添加如下代码
<label for="fruit">苹果</label>
首先给checkbox或者radio添加id,然后把文字放在lable标签中,为lable标签设置for属性,for属性的值是你要关联的input的id
第3个回答 2010-12-16
<input ID="apple" name="fruit" type="radio" value ="Apple" /><Label for="apple">苹果</Label>
加入id,然后label for这个id本回答被网友采纳
第4个回答 2010-12-16
单选框复选框:
value被作为按钮的值
name作为按钮的名字
<input type=CHECKBOX value=v name=>
js中获取哪个按钮被按下靠value
如var ql=document.getElementsByName("n").value;
那么ql=v
就如一本书 书号是value 书名是name