1. comment:
? ? HTML:<!--comment-->
? ? CSS: /*comment*/
2. em:
? ? HTML: 斜體
? ? CSS:font size; one em is equal to the default font size on whatever screen the user is ? ? ? using.
3. self closing tab:
? ? <img src="XXXXX"/>
? ? <link type="xxx" rel="xxx" href="xxx"/>
4. .class: for punch of sectors
? ? ?#ID: for exactly one sector.
5. 想讓div變成circle,設(shè)置radius為100%
6.?
Miscellaneous:
1. css里面properties:后面space
2. css里面<a href="xxxx>默認(rèn)的text decoration是藍(lán)色帶下劃線,可設(shè)置為text decoration:none
3. 取色16進(jìn)制:(0~9)(A~F)#XXXXXX
4. 如果同一個selector既設(shè)置了class又設(shè)置了id球拦,同步執(zhí)行嘁锯;如果兩者value沖突,執(zhí)行后面一個。