你对什么运动感兴趣:
慢跑
登山
篮球
尴尬,刚才写错成单选框了- -
<from>
<label>你对什么运动感兴趣:</label><br />
<label for="run">慢跑</label>
<input type="checkbox" name="checkbox1" value="慢跑" id="run"><br />
<label for="cimb">登山</label>
<input type="checkbox" name="checkbox2" value="登山" id="cimb"><br />
<label for="baketball">篮球</label>
<input type="checkbox" name="checkbox3" value="篮球" id="baketball">
</from>
<from>
<label>你对什么运动感兴趣:</label><br />
<label for="run">慢跑</label>
<input type="radio" name="sport" value="慢跑" id="run"><br />
<label for="cimb">登山</label>
<input type="radio name="sport" value="登山" id="cimb"><br />
<label for="baketball">篮球</label>
<input type="radio name="sport" value="篮球" id="baketball">
</from>
<form>
<label>你对什么运动感兴趣:</label><br />
<label for="1">慢跑</label>
<input type=checkbox name="x1" id="1"><br />
<label for="2">登山</label>
<input type="checkbox" name="x2" id="2"><br />
<label for="3">篮球</label>
<input type=checkbox name="x3" id="3"><br />
<input type="reset" value="重置" />
</form>