CSS Syntax Question
Hi all, Looking at the following examples, why is there a period (a dot) after the selector in the second list of examples? List One: h1 { font-size: 2.5em; /* 40px/16=2.5em */ } h2 { font-size: 1.875em; /* 30px/16=1.875em */ } p { font-size: 0.875em; /* 14px/16=0.875em */ } List Two: p.normal { font-variant: normal; } p.small { font-variant: small-caps; } ------------------------------------------------------------------- In essence, why in the second list of examples is there a dot after the paragraph selector? Why is there an indicator as to the font size after the "p." and not inside the { } brackets? If they were classes, I could understand, but they're not. Classes have the period (the dot) before the selector (I.e. .p {...}). Thanks.