CSS Layout Quiz CIS125H Fall 2005 [Ross]

Jerry Ross

If you have any questions or concerns about this quiz,
please contact the creator of the quiz.

Answer the questions below and then click "submit" to send your answers.

  1. An advantage of using CSS for page layout is:
  2. Your answer:
    potentially smaller documents
    easier site maintenance
    increased accessibility
    all of the above.


  3. The box model consists of a content area surrounded by:
  4. Your answer:
    a border
    padding, border, and margin
    border and margin
    spacing, border, and margin


  5. The _______ is the area between the content and the margin.
  6. Your answer:
    border
    spacing
    padding
    none of the above


  7. _________ flow displays the elements on the page in the order they appear in the web page source code.
  8. Your answer:
    source code
    normal
    default
    browser


  9. Use ___________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.
  10. Your answer:
    z-index
    float
    relative
    absolute


  11. The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:
  12. Your answer:
    #myfloat { right:float: margin 10px; border:solid; }
    .myfloat { float:right; 10px:margin; border:normal; }
    .myfloat { float:right; margin:10px; solid:border; }
    .myfloat { float:right; margin:10px; border:solid; }


  13. The _________ property is used to modify the stacking order of elements on a web page.
  14. Your answer:
    display
    stacking
    z-index
    float


  15. Use the _______________ property to configure an image to use as a bullet point in an unordered list.
  16. Your answer:
    bullet-image
    image-style
    list-style-image
    bullet-style-image


  17. When configuring CSS to display a printed page, use the ___________ property in the XHTML link tag.
  18. Your answer:
    media="print"
    out="printer"
    media="paper"
    media="screen"


  19. The default value for the border property for an element is:
  20. Your answer:
    1 pixel
    0 pixels
    3 pixels
    10 pixels


  21. When using the box model, the _____ is always transparent.
  22. Your answer:
    content
    border
    margin
    spacing


  23. Use a class to configure a style when:
  24. Your answer:
    the style could apply to more than one element on a page.
    the style will apply to only one element on a page.
    the style is used for all elements on a page.
    None of the above


  25. If an element is configured with ___________ the other content on the page will appear to its left.
  26. Your answer:
    position:relative;
    float:left;
    float:right;
    position:left;


  27. Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?
  28. Your answer:
    margin: 150px 20px 0px 300px;
    margin:top-30, left-250, right-0, bottom-0;
    margin:30px 0px 0px 150px;
    none of the above


  29. __________________ will cause an object not to display either in the browser window or on a printed page
  30. Your answer:
    display:block;
    display: 0px;
    display:none;
    this cannot be done with CSS


  31. ______ will configure a class called blog to stack on top of other elements that have a z-index of 3?
  32. Your answer:
    #blog{z-index: high};
    .blog{z-index:4};
    .blog{ z-index:2};
    none of the above


  33. Use the ________ property along with the left, right and/or top property to precisely configure the position of an element.
  34. Your answer:
    position:absolute;
    position:relative;
    position:float;
    absolute:position;


  35. Assume that the size of the base font on a system is 12 points. How big is a 36-point font in ems?
  36. Your answer:
    1/6 ems
    6 ems
    3 ems
    0.75 ems


  37. Assume that the size of the base font on a system is 12 points. How big is a 9-point font in ems?
  38. Your answer:
    6 ems
    0.75 ems
    1/6 ems
    3 ems


  39. Assume that the size of the base font on a system is 12 points. How big is a 24-point font in picas?
  40. Your answer:
    0.75 ems
    3 ems
    2 picas
    1/6 em


Name:

Full email address:

Class:

NOTE TO THE STUDENT: If the answers are sent successfully, you will see another page come up in the web browser. If you don't see this page, it is possible that an error occurred during transfer and you should either resubmit your answers or notify your instructor.


QuizCenter © 2000 - 2002. This quiz was generated at Quiz Center on DiscoverySchool.com. All rights reserved.