Quiz #2 Study Guide

  1. CSS syntax – selector {property: value;}
  2. CSS commenting-  /* comment  */
  3. links to external stylesheet –
    <link rel=”stylesheet” href=”styles.css”>
  4. internal stylesheet – <style> h1 { font-size: 22px; } </style>
  5. inline css – <p style=”color: red;”>some text</p>
  6. CSS selectors, specifying selectors –
    h1 { color: red; },
    #bio { color: black; },
    .stanza { color: silver; },
    .stanza h1 { font-size: 20px; }
  7. identify when and why a rule is applied to an element –
    inheritance
    specificity
    location
  8. Be able to identify correct unit measurements in CSS style rules- 10px, 2.5em, 50%
  9. display property –
    display: block
    display:  inline

    display:  inline-block
    display: none
  10. float property –
    float: left
    float: right
    float: none
    and for clearing floats:
    clear: left, right or both
  11. positioning – relative, absolute, fixed, z-index
  12. color schemes- monochromatic, complimentary, split-complimentary, triadic
  13. serif/sans-serif fonts
  14. fixed vs. flexible web design
  15. color codes –
    hexadecimals (#f0f0f0)
    rgb(0,0,0)
    rgba(0,0,0,1)
  16. font properties –
    font-family
    font-size
    font-weight
    font-style
    font-variant
  17. text properties –
    text-align
    text-decoration
    color
  18. border property – border: 1px solid #000000
  19. background image – #wrapper {background: url(background.png);}
  20. center a div –  #wrapper {margin: 0 auto;}
  21. link styles –
    a:link, a:visited { color: red; text-decoration: none; }
    a:hover, a:focus {  color: orange; } 

 

Leave a Reply

Your email address will not be published. Required fields are marked *