SELECTOR
1.
Type Selector name
2.
Class Selector .name
3.
ID Selector #name
4.
Descendant Selector name1 name {color: blue; }
5.
Child Selector div > em { color: blue; }
6.
Universal Selector *
7.
Adjacent Selector h2+h3
8.
Attribute Selector name[attribute]
9.
Pseudo-classes
a {}
a:link {}
a:visited {}
a:hover {}
a:active {}
a:link {}
a:visited {}
a:hover {}
a:active {}
1 Pseudo-element
p:first-line {font-weight: bold; }
p:first-letter {font-size: 200%; font-weight: bold; }
for more detail:
http://css.maxdesign.com.au/selectutorial/index.htm
p:first-line {font-weight: bold; }
p:first-letter {font-size: 200%; font-weight: bold; }
for more detail:
http://css.maxdesign.com.au/selectutorial/index.htm