Css miscellaneous


  1. Which of the following property defines the color of an element’s top border?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Syntax: border-top-color: color | transparent | inherit


  1. Which of the following property defines the style for the right border of an element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Syntax: border-right-style: dashed | dotted | double



  1. Which of the following property defines whether table cell borders are connected or separate?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Syntax: border-collapse: collapse | separate | inherit


  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. ____________ 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.