Home / CSE / CSS - CS :: Discussion

Discussion :: CSS - CS

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

  2. A.

     ::after

    B.

     :disabled

    C.

     :default

    D.

     :checked

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment