<input type="radio" name="sex" id="male" /><label for="male">Male</label>
<input type="radio" name="sex" id="female" /><label for="female">Female</label>
name是组别,id是关联的input
时间: 2024-11-15 04:16:14
<input type="radio" name="sex" id="male" /><label for="male">Male</label>
<input type="radio" name="sex" id="female" /><label for="female">Female</label>
name是组别,id是关联的input