User Tools

Site Tools


eg-259:review:css

The Presentation Layer

Adapted from: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. Supporting: the background material for Contact Hour 3.

  1. What is the advantage of document-level style sheets over in-line style sheets?
  2. What is the purpose of external style sheets?
  3. What attributes are required in a link to an external style sheet?
  4. What is the format of an in-line style sheet?
  5. What is the format of a document-level style sheet, and where does it appear?
  6. What is the format of an external style sheet?
  7. What is the form of comments within the rule list of a document-level style sheet?
  8. What is the purpose of style class selector?
  9. What is the purpose of a generic class?
  10. Are keyword property values case sensitive or non case sensitive?
  11. Why is a list of font names given in the value of a font—family property?
  12. What are the five generic fonts?
  13. In what order must property values appear in the list of font properties?
  14. In what ways can text be modified with text—decoration?
  15. How is the list—style—type property used with unordered lists?
  16. What are the possible values of the list—style—type property when used with ordered lists?
  17. If you want text to flow around the right side of an image, which value, right or left, must be assigned to the float property of the image?
  18. Why must background images be chosen with care?
  19. What are the possible values for the text—align property?
  20. What purpose does the text-indent property serve?
  21. What properties are used to set margins around elements?
  22. What are the three ways colour property values can be specified?
  23. If you want a background image to be repeated vertically but not horizontally, what value must be set to what property?
  24. What properties and what values must be used to put a dotted border around a text box, where the border is red and thin on the left and blue and thick on the right?
  25. What layout information does a <span> tag by itself indicate to the browser?
  26. What is the purpose of the <div> tag?

More Review Questions

eg-259/review/css.txt · Last modified: 2012/01/20 17:44 by eechris