What kinds of style?

    • Class style: any name as long as there are no spaces. Use only letters, numbers, underscores and hyphens
      • .fred {font-weight: bold}
    • ID: Identifier style. A unique style used only once on the page. Usually for layout divs and javascript
      • #header {width: 500px;}
    • Tag: For specific tags. The style is applied automatically to the corresponding tag.
      • h1 {font:arial;font-size:12px;color:red}
    • Compound: One style object inside another
      • #header H1 {width: 500px; color: #0000ff;}
        (if an <h1> is placed inside the header div then it will inherit the style properties. If the <h1> is outside then it won't)