Div{ Width:300px哮幢; Height:400px踢星; Background:red恨樟; Border:5px,blue solid识脆; M...
Background-image:url() 這種背景圖片會(huì)自動(dòng)將背景占滿并淋。所以需要background-repeat:no repeat 镜雨,這...
style后面直接寫a{XXX} a是標(biāo)簽選擇器角虫。 .a{ZZZ}.a是類選擇器苦蒿。 直接在head內(nèi)寫的是內(nèi)部樣式殴胧。直接在元素內(nèi)寫的是內(nèi)聯(lián)樣式。...
<!-- float:left向左浮動(dòng)佩迟。光使用display:inline-block會(huì)產(chǎn)生縫隙 --> <!-- 給.a和.b設(shè)置同一種樣...
div{width: 100Px; height: 100px; background-color: red; backgr...
html lang="en"> Document <!-- 優(yōu)先級(jí)受到順序的影響团滥,先外部,后內(nèi)部最后內(nèi)聯(lián) --> <!-- i...
<!DOCTYPE html> Document 選項(xiàng)全給你框起來 <!-- form表單报强,...
<!DOCTYPE html> Document h1{ color: red; /* t...
<!DOCTYPE html> <!-- 注釋 --> <!-- keywords搜索引擎搜索關(guān)鍵字 content表示關(guān)鍵字是什么 d...