单选框 <form> <input type="radio" name="fruits" value="apple" /> Apple <br /> <input type="radio" name="fruits" value="orange" /> Orange <br/> <input type="radio" name="fruits" value="Bananas" /> Bananas <br/> <input type="radio" name="fruits" value="pear" /> Pear </form>
Apple
Orange
<form> <input type="radio" name="fruits" value="apple" /> Apple <br /> <input type="radio" name="fruits" value="orange" /> Orange <br/> <input type="radio" name="fruits" value="Bananas" /> Bananas <br/> <input type="radio" name="fruits" value="pear" /> Pear </form>
时间: 2024-10-15 14:47:26