Cascading Style Sheets

14 Questions | Total Attempts: 160

SettingsSettingsSettings
Please wait...
Microsoft Access Quizzes & Trivia

This quiz covers the theory objectives as prescribed in Chapter three- Cascading Style Sheets frrom the book Programming the WWW by Robert W. Sebesta, taught by Ms. Annette Cooper at Saint John's College Junior College.


Questions and Answers
  • 1. 
     How many levels of style sheets are there?
    • A. 

      Two

    • B. 

      Four

    • C. 

      Three

    • D. 

      As many as you decide

  • 2. 
    Which of the following are included in the levels of Cascading Stlye sheets?
    • A. 

      Inline, online, external

    • B. 

      Internal, external, document level

    • C. 

      External, document level, internet level

    • D. 

      Document level

    • E. 

      Inline,document level, and external

  • 3. 
    XHTML is a
    • A. 

      Programming language

    • B. 

      Markup language

    • C. 

      Program that is exactly like HTML

  • 4. 
    The three levels of style sheets, in order from lowest level to highest level, are __________, document level and external.
  • 5. 
    Inline style sheets have precedence over documnet style sheets.
    • A. 

      True

    • B. 

      False

  • 6. 
    External style sheets have precedence over documnet style sheets.
    • A. 

      True

    • B. 

      False

  • 7. 
    Document style sheet property values can be overridden by different property values in an inline sheet style.
    • A. 

      True

    • B. 

      False

  • 8. 
    If no style sheet information is specified, the browser default property values are used.
    • A. 

      True

    • B. 

      False

  • 9. 
    Consider the following: A case of tags and tags attributes:A particular browser may not be capable of using the property values specified by a style sheet. Example: If the vale of the font-size property of a paragraph is set to 18 points, but the browser can only display the particular font being used in sizes up to 16 points, the browser obvioulsy cannot fulfill the property specifications. In this case the browser would:
    • A. 

      Ignore the given font size value

    • B. 

      Substitute an alternative value

    • C. 

      Ignore the paragraph and simply not display anything in that paragraph

    • D. 

      A and B

    • E. 

      A and B and C

  • 10. 
    Document-level style sheet specifications can appear anywhere in the document and will apply to the entire body of the document.
    • A. 

      True

    • B. 

      False

  • 11. 
    The ______________ to an external stle sheet must appear in the head of the document.
    • A. 

      Specifications

    • B. 

      Name

    • C. 

      Link

    • D. 

      Address

  • 12. 
    Document- level style specifications appear in the document head section  and apply to the entire ______________ of the document.
  • 13. 
    The browser fetches external style sheets just as it fetches documents. The___________ tag is used to specify and external style sheet.
    • A. 

      Address

    • B. 

      Link

    • C. 

      WWW

    • D. 

      Get

  • 14. 
    Which of the following introduces CSS comments?
    • A. 

      /*

    • B. 

      Style

    • C. 

      Property