Home / CSE MCQs / CSS MCQs :: Discussion

Discussion :: CSS MCQs

  1. Which of the following selectors selects any tag with an id attribute set?
  2. A.
    E#id
    B.
    .class
    C.
    #id
    D.
    *

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Example:#test {color: green;} /* makes a tag with id='test' green */


Be The First To Comment