Css miscellaneous


  1. Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    An HSLa is specified via a function style hsla(hue,saturation, lightness, alpha), where hue, saturation, and lightness are the same as standard hsl() values, and the alpha channel value for defining opacity is a number between 0 (fully transparent) and 1 (fully opaque).


  1. Which of the following is the Color Format that is a CSS’s six-digit hexadecimal format as color defined in (X)HTML?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML. The format specifies color as #rrggbb, where rr is the amount of red, gg the amount of green, and bb the amount of blue, all specified in a hexadecimal value ranging from 00 to FF.



  1. _____________ property specifies the direction in which a marquee should move.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    marquee-direction: forward | reverse


  1. The __________ may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    User: The user may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet (or behaves as if it did) .



  1. Each property may also have a cascaded value of ___________ which means that, for a given element, the property takes the same specified value as the property for the element’s parent.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Each property may also have a cascaded value of ‘inherit’, which means that, for a given element, the property takes the same specified value as the property for the element’s parent. The ‘inherit’ value can be used to enforce inheritance of values, and it can also be used on properties that are not normally inherited.