CSS Introduction


  1. What module expands the absolute and relative units of measure, including significant changes to support animation and aural changes with time (s and ms) and angle (deg and rad) values?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Visit www.w3.org/TR/css3-values to know more about it.


  1. Which of the following selector is used to selects siblings?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    p ~ strong {font-style: italic;}



  1. Which of the following selector is used to selects the elements that are the default among a set of similar elements?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    :default {background-color: red;}
    /* sets the background color of a default button like a submit to red */


  1. Which of the following selector is used to selects the element that is the first child of its parent that is of its type?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    strong:first-of-type {font-size: bigger;}
    /* sets the font size bigger on the first strong tag of its parent */



  1. Which of the following selector is used to selects the element that is the nth child of its parent?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    div:nth-child(2) {background-color: red;}
    /* sets the background color to red if the div is its parent’s second child */