Css miscellaneous


  1. Which of the following property defines in a shorthand form the width, style, and color for the bottom border of an element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Syntax: border-bottom: border-width border-style border-color;


  1. Media type names are case-insensitive. State true or false.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    True



  1. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    @media and @import rules with unknown media types (that are nonetheless valid identifiers) are treated as if the unknown media types are not present. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is invalid.


  1. ____________ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Media types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document. However, user agents may use different media types on different canvases. For example, a document may (simultaneously) be shown in ‘screen’ mode on one canvas and ‘print’ mode on another canvas.



  1. What is the way to specify media dependencies for style sheets ?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language