兴化股票配资

????��???CSS5 > DIV CSS???? >

CSS class_CSS id

?????????2010-05-12 14:02:25 ?????css5.com.cn

CSS ID??CSS CLASS

?????????????id??class????兴化股票配资???????????????CSS id??CSS class???????��???

CSS id - css class
id??class????

CSS id????
??????????ID????????��??????????id???????????????��???CSS???????????????��?????????��W3C??????????��????ID??html????????html?????????????????JS???????????????????????????????class???????????��??????CSS ????兴化股票配资??id????????��????��??????????????????????????????????????JS???????????????????????????????????????????????��?

id ??????? "#" ?????��????CSS???????
兴化股票配资 ????????css id??????????

#yangshi1{color:#F00;}??????css5.com.cn???
#yangshi2{color:#0F0;}???????

???html??div????

<div id="yangshi1">?????????</div>
<div id="yangshi2">?????????</div>

???div?????????????????id?��

<div id="yangshi1" id="yangshi2">css5.com.cn????????</div>

??

<div id="yangshi1 yangshi2">css5.com.cn????????</div>

????????????????????CSS??????????????��- ???CSS ?��????

CSS class????
??CSS ID?????????clsss???????????????????????��?

Class ???????????“.”?????�^????css class??????????.yangshi1{color:#F00;} ????????????.yangshi2{font-size:28px;}?????????��?18px

???html??div+css?????

<div class="yangshi1">?????????</div> 
<div class="yangshi2">css5.com.cn???????��?28px</div>
<div class="yangshi1 yangshi2">??????????????��?28px</div>

???????“yangshi1”“yangshi2”????????��???

?????????????????????CSS ?????????css ?????�Z-CSS???????????

??????????css????��?????
<div class="yangshi1" class=" yangshi2">?????��</div>
?????????��??????????????��????????????��????div??????????????"class="???????????css??????????div???????????????<div class="yangshi1 yangshi2">?????
???div?????????id??class???????

.yangshi1{... ...}
#yangshi2{... ...}
.yangshi3{... ...}
<div class="yangshi1" id="yangshi2">??????????????????.
<div class="yangshi1 yangshi3" id="yangshi2">???????????????

???
????????????????????div css??id??class?????��?????????????????????��????????CSS5??css??????????????????css id??css class??????????css ????????

?????????????class??id

???(Tag): class id
???????URL?????/css/117.shtml

?????css5

??????css??????????y??(CSS color)
??????CSS ??????y??css width