課程
/前端開(kāi)發(fā)
/HTML/CSS
/初識(shí)HTML(5)+CSS(3)-升級(jí)版
你對(duì)什么運(yùn)動(dòng)感興趣:慢跑登山籃球
2016-02-19
源自:初識(shí)HTML(5)+CSS(3)-升級(jí)版 6-8
正在回答
登山不錯(cuò)。
為了夢(mèng)想lzh 提問(wèn)者
<label>你對(duì)什么運(yùn)動(dòng)感興趣</label>
<form>
? <label for="慢跑">慢跑</label>
? <input type="radio" name="sex" id="male" />
? <br />
? <label for="登山">登山</label>
? <input type="radio" name="sex" id="female" />
? <label for="籃球">籃球</label>
</form>
你對(duì)什么運(yùn)動(dòng)感興趣:<br/>
? <label for="jog">慢跑</label>
? <intut type="checkbox" ?name="jog"
? id="jog"/><br/>
? <label for="climb">登山</label>
? <inprt type="checkbox" name="climb"?
? id="climb"/><br/>
? <label for="basketball">籃球</label>
? <input type="checkbox" name="basketball" id="basketball"/>
<form method="post" action="save.php">
? <h2>你對(duì)什么運(yùn)動(dòng)感興趣:</h2>
? <label for="larun">慢跑</label> <input type="checkbox" name="run" id="larun" ?/><br />
? <label for="laclimp">登山</label> <input type="checkbox" name="climp" id="laclimp" /><br />
? <label for="labasketball">籃球</label> <input type="checkbox" name="basketball" id="labasketball">
籃球吧
? <h2>你對(duì)什么運(yùn)動(dòng)感興趣:</h2><!-- label的for屬性的值對(duì)應(yīng)后面input的id值 -->
<label for="run">慢跑</label><input type="checkbox" name="run" id="run"/><br/> <label for="climp">登山</label><input type="checkbox" name="climp" id="climp"/><br/><label for="ball">籃球</label><input type="checkbox" name="ball" id=ball"/>
?你對(duì)什么運(yùn)動(dòng)感興趣:
<from> ? ?
<br/>
? ?<lable for="rung1">慢跑</lable>
? ?<input type="checkbox"> <br/>
? ?<lable for="rung2">登山</lable>
? ?<lable for="rung3">籃球</lable>
? ?<input type="checkbox">
</from> ?
都比較喜歡
舉報(bào)
HTML(5)+CSS(3)基礎(chǔ)教程8小時(shí)帶領(lǐng)大家步步深入學(xué)習(xí)標(biāo)簽用法和意義
1 回答label標(biāo)簽
2 回答label標(biāo)簽
3 回答label標(biāo)簽
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-02-19
登山不錯(cuò)。
2016-02-19
<label>你對(duì)什么運(yùn)動(dòng)感興趣</label>
<form>
? <label for="慢跑">慢跑</label>
? <input type="radio" name="sex" id="male" />
? <br />
? <label for="登山">登山</label>
? <input type="radio" name="sex" id="female" />
? <br />
? <label for="籃球">籃球</label>
? <input type="radio" name="sex" id="female" />
</form>
2016-02-19
你對(duì)什么運(yùn)動(dòng)感興趣:<br/>
? <label for="jog">慢跑</label>
? <intut type="checkbox" ?name="jog"
? id="jog"/><br/>
? <label for="climb">登山</label>
? <inprt type="checkbox" name="climb"?
? id="climb"/><br/>
? <label for="basketball">籃球</label>
? <input type="checkbox" name="basketball" id="basketball"/>
2016-02-19
<form method="post" action="save.php">
? <h2>你對(duì)什么運(yùn)動(dòng)感興趣:</h2>
? <label for="larun">慢跑</label> <input type="checkbox" name="run" id="larun" ?/><br />
? <label for="laclimp">登山</label> <input type="checkbox" name="climp" id="laclimp" /><br />
? <label for="labasketball">籃球</label> <input type="checkbox" name="basketball" id="labasketball">
</form>
2016-02-19
籃球吧
2016-02-19
<form method="post" action="save.php">
? <h2>你對(duì)什么運(yùn)動(dòng)感興趣:</h2><!-- label的for屬性的值對(duì)應(yīng)后面input的id值 -->
? <label for="larun">慢跑</label> <input type="checkbox" name="run" id="larun" ?/><br />
? <label for="laclimp">登山</label> <input type="checkbox" name="climp" id="laclimp" /><br />
? <label for="labasketball">籃球</label> <input type="checkbox" name="basketball" id="labasketball">
</form>
2016-02-19
<label for="run">慢跑</label>
<input type="checkbox" name="run" id="run"/>
<br/>
<label for="climp">登山</label>
<input type="checkbox" name="climp" id="climp"/>
<br/>
<label for="ball">籃球</label>
<input type="checkbox" name="ball" id=ball"/>
2016-02-19
?你對(duì)什么運(yùn)動(dòng)感興趣:
<from> ? ?
<br/>
? ?<lable for="rung1">慢跑</lable>
? ?<input type="checkbox"> <br/>
? ?<lable for="rung2">登山</lable>
? ?<input type="checkbox"> <br/>
? ?<lable for="rung3">籃球</lable>
? ?<input type="checkbox">
</from> ?
2016-02-19
都比較喜歡
2016-02-19
籃球吧