亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

??? ???

??? ???? ???? ?? ??? ????? ??? ???? ??? ? ????.

?: .class{}(??? ???? ??? ??? ???? ? ?? ?? ??, ???? ??? ??? ?? ????)

??? ?? ???????:

html ??:

<div class="div">
    php中文網(wǎng)
</div>

css ??:

.div{color: cadetblue;
}

?? ???, ??? ??? ?? ? ????:

QQ截圖20161011175352.png

?? ??? ?? ???? ??? ??? ???? ???? ??? ? ?? ????.

<h1 class="div">php ?? ???</h1>

?? CSS ??? ??? ?? ???????.

h1.div{color: cadetblue;
}

??? ??? ??? ?? ?? ??? ???? ? .div? h1??? ?????.

???? ??? ???????.

QQ截圖20161011175440.png

???? ???? ?? ?? ??? ??????: .class.class{} ??? ??? ??? ???? ?????. ?? ??? ?????: html ???? ?? p ??? ???? ????. ???? ????:

<p class="p1">php中文網(wǎng)</p>
<p class="p2">php中文網(wǎng)</p>
<p class="p3">php中文網(wǎng)</p>

CSS ???? ??? ??? ??? ? ?? ???? ????. ? ?? ??? ???? ????? ? ?? ?? ??? 20px?? ? ?? ?? ???? ???????.

.p1{    color: cadetblue;
}.p2{    font-size: 20px;
}.p3{    font-style: italic;
}

??? ??? ???????.

QQ截圖20161011175511.png

?? ?? ???? ???? ???????.

???? CSS ??? ???? ???. p3? .p1.p2? ?????. ?? html?? ??? ? ? ?? p ?? ???? ?????. css:

.p1.p2{    font-style: italic;
}

html:

<p class="p1 p2">php中文網(wǎng)</p>

??? ?? ?????.

QQ截圖20161011175559.png

??? ? ?? ??? p1 ??, p2 ?? ??, ? ?? ???????. ?? ???? ???? ?? ???????.


???? ??
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link rel="stylesheet" type="text/css" href="style.css" /> <title>Title</title> </head> <body> <div class="div"> php中文網(wǎng) </div> <h1 class="div">php中文網(wǎng)</h1> <p class="p1">php中文網(wǎng)</p> <p class="p2">php中文網(wǎng)</p> <p class="p3">php中文網(wǎng)</p> <p class="p1 p2">php中文網(wǎng)</p> </body> </html>