課程
/前端開發(fā)
/HTML/CSS
/初識(shí)HTML(5)+CSS(3)-升級(jí)版
最后這個(gè)斜杠干嘛的?
2017-04-26
源自:初識(shí)HTML(5)+CSS(3)-升級(jí)版 6-1
正在回答
在 XHTML 中,<input> 標(biāo)簽必須被正確地關(guān)閉,
舉例:<br>標(biāo)簽
xhtml1.0寫法:
<br />
html4.01寫法:
<br>
大家注意,現(xiàn)在一般使用 xhtml1.0 的版本的寫法(其它標(biāo)簽也是),這種版本比較規(guī)范。
DOFOR 提問者
閉合標(biāo)簽
用來關(guān)閉標(biāo)簽的,<input>標(biāo)簽并不是一對(duì)的,使用空標(biāo)簽的樣式,例如<br/>
關(guān)閉標(biāo)簽,如<br />
舉報(bào)
HTML(5)+CSS(3)基礎(chǔ)教程8小時(shí)帶領(lǐng)大家步步深入學(xué)習(xí)標(biāo)簽用法和意義
8 回答<input type="password" name="pass" />
5 回答<input type="password" name="pass">
3 回答<input type="password" name="pass" />
2 回答<input type="password" name="pass" />
10 回答<input type="text" name="myname"><input type="password" name="pass"
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)
2017-04-26
在 XHTML 中,<input> 標(biāo)簽必須被正確地關(guān)閉,
舉例:<br>標(biāo)簽
xhtml1.0寫法:
<br />
html4.01寫法:
<br>
大家注意,現(xiàn)在一般使用 xhtml1.0 的版本的寫法(其它標(biāo)簽也是),這種版本比較規(guī)范。
2017-04-26
閉合標(biāo)簽
2017-04-26
用來關(guān)閉標(biāo)簽的,<input>標(biāo)簽并不是一對(duì)的,使用空標(biāo)簽的樣式,例如<br/>
2017-04-26
關(guān)閉標(biāo)簽,如<br />