Web Pub II DHTML/CSS Quiz/Project

Diane Cunningham

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. Which browsers and what versions of those browser recognize style sheet codes
  2. Your answer:


  3. What are the two components of a style sheet rule?
  4. Your answer:


  5. What are the two parts of the style sheet declaration
  6. Your answer:


  7. What are the three methods for using style sheets with a web page
  8. Your answer:
    Dreamweaver, GoLive or FrontPage
    Inline, embedded or document level and external (linked or imported)
    Handcoded, Generated or WYSIWYG


  9. For an external style sheet the container is and everything must be placed in the style container
  10. Your answer:
    TrueFalse


  11. In style sheets, more than one rule can be assigned to a particular element, but the browser will follow only the rule that takes precedence
  12. Your answer:
    TrueFalse


  13. CSS is one of the key components of DHTML technology
  14. Your answer:
    TrueFalse


  15. What does DOM stand for?
  16. Your answer:


  17. DHTML is completely cross browser compatible
  18. Your answer:
    TrueFalse


  19. Layers work in Netscape AND Microsoft's Internet Explorer
  20. Your answer:
    TrueFalse


  21. What is the correct HTML for refering to an external style sheet?
  22. Your answer:
    <stylesheet>mystyle.css</stylesheet>
    <style src="mystyle.css">
    <link rel="stylesheet" type="text/css" href="mystyle.css">


  23. Common tool for developing CSS pages
  24. Your answer:
    Dreamweaver and GoLive
    Notepad
    FrontPage


  25. Where in the HTML document is the correct place to refer to an external style sheet?
  26. Your answer:
    In the <body> section
    At the top of the document
    In the <head> section
    At the end of the document


  27. Which HTML tag is used to define an internal style sheet?
  28. Your answer:
    <css>
    <style>
    <script>


  29. Which HTML attribute is used to define inline styles?
  30. Your answer:
    class
    style
    styles
    font


  31. Which is the correct CSS syntax?
  32. Your answer:
    body:color=black
    {body;color:black}
    body {color: black}
    {body:color=black(body}


  33. How do you insert a comment in your CSS file?
  34. Your answer:
    // this is a comment
    ' this is a comment
    /* this is a comment */
    // this is a comment //


  35. Which CSS property controls the text size?
  36. Your answer:
    font-style
    text-size
    text-style
    font-size


  37. What is the correct CSS syntax for making all the

    elements bold?

  38. Your answer:
    <p style="font-size:bold">
    <p style="text-size:bold">
    p {font-weight:bold}
    p {text-size:bold}


  39. How can you display your hyperlinks without an underline?
  40. Your answer:
    a {text-decoration:none}
    a {text-decoration:no underline}
    a {underline:none}
    a {decoration:no underline}


  41. How can you change the left margin of an element?
  42. Your answer:
    indent:
    margin:
    margin-left:
    text-indent


  43. Two part answer: 1. What does the "cascading" part of cascading style sheets mean? 2. What is the cascading order of rules
  44. Your answer:


  45. Stating from either a blank unformatted web page (sample), or a web page of your own choosing (perhaps a page from your Cunningham Coffee Corner project??), create two version of the page, each linked to a different external stylesheet. The two pages must be identical, except for the stylesheet they link to. Stylesheet Project Requirements You must modify at least eight standard HTML elements. e.g. BODY, P, H1 through H6, UL, A, BLOCKQUOTE, TABLE AND your stylesheet must contain at least one custom class such as .important and .summary Don't forget to include your original unformatted HTML webpage and your two .css style sheets! NOTE: Hand this work in on a floppy disk!!
  46. Links to reference material:
    Cascading Style Sheet CODING Project
    OPTIONAL Source file to add styles

    Your answer:


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.