課程
/前端開發(fā)
/HTML/CSS
/初識(shí)HTML(5)+CSS(3)-升級(jí)版
<h1>{??? font-weight:normal;??? color:red;}
2017-04-27
源自:初識(shí)HTML(5)+CSS(3)-升級(jí)版 8-2
正在回答
h1不需要這個(gè)<> ,正確的寫法是?
h1{
? ? ?font-weight:normal;
? ? ?color:red;
}
并且要把這個(gè)語句寫在 <style type="text/css"> ?</style>這對(duì)標(biāo)簽里面
選擇器不帶<>
h1{??? font-weight:normal;??? color:red;}
去掉h1的<>,直接寫h1{font-weight:normal;? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? color:red;
??????????????????????????????? }
選擇符不用帶括號(hào)
選擇器寫錯(cuò)了,正確寫的方式應(yīng)該是h1{font-weight:normal;color:red;}這種屬于標(biāo)簽選擇器。
h1不要<>括號(hào)
舉報(bào)
HTML(5)+CSS(3)基礎(chǔ)教程8小時(shí)帶領(lǐng)大家步步深入學(xué)習(xí)標(biāo)簽用法和意義
2 回答勇氣字號(hào)沒變小
9 回答*{}匹配所有HTML的標(biāo)簽元素 為什么“勇氣”沒有變大呢 * {color:red; font-size:20px;
3 回答設(shè)置了body內(nèi)容字體大小,“勇氣”兩字沒有變成設(shè)定的樣式,反而變大了
4 回答為什么勇氣這個(gè)標(biāo)題不是紅色的?
3 回答勇氣為什么是大的字體
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2017-06-10
h1不需要這個(gè)<> ,正確的寫法是?
h1{
? ? ?font-weight:normal;
? ? ?color:red;
}
并且要把這個(gè)語句寫在 <style type="text/css"> ?</style>這對(duì)標(biāo)簽里面
2017-04-27
選擇器不帶<>
h1{
??? font-weight:normal;
??? color:red;
}
2017-04-27
h1{
??? font-weight:normal;
??? color:red;
}
2017-04-27
去掉h1的<>,直接寫h1{font-weight:normal;
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? color:red;
??????????????????????????????? }
2017-04-27
選擇符不用帶括號(hào)
h1{
??? font-weight:normal;
??? color:red;
}
2017-04-27
選擇器寫錯(cuò)了,正確寫的方式應(yīng)該是h1{font-weight:normal;color:red;}這種屬于標(biāo)簽選擇器。
2017-04-27