課程
/前端開發
/HTML/CSS
/初識HTML(5)+CSS(3)-升級版
你對什么運動感興趣: ?慢跑 ?登山 ?籃球 ?
2017-08-13
源自:初識HTML(5)+CSS(3)-升級版 6-8
正在回答
尷尬,剛才寫錯成單選框了- -
<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>
<input type="radio" name="sport" value="慢跑" id="run"><br />
<input type="radio name="sport" value="登山" id="cimb"><br />
<input type="radio name="sport" value="籃球" id="baketball">
?<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>
舉報
HTML(5)+CSS(3)基礎教程8小時帶領大家步步深入學習標簽用法和意義
1 回答慢跑、登山和籃球復選框要與各自的復選項用for屬性關聯。
1 回答慢跑、登山和籃球復選框要與各自的復選項用for屬性關聯。 關聯跟不關聯有什么差別嗎?
4 回答慢跑 登山 籃球 后面的方形選擇按鈕怎么寫呀?
2 回答復選框和復選項?這樣關聯有什么意義?讓用戶多選?
2 回答關于lable用for屬性關聯多選框
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-10-03
尷尬,剛才寫錯成單選框了- -
<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>
2017-10-02
<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>
2017-08-13
?<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>