1. Home
  2. Computer Science MCQs
  3. HTML
  4. Which is not the selector type of CSS?

Added 20 Jan 2024

Which is not the selector type of CSS?

  1. Type selector
  2. Universal selector
  3. Local selector Correct answer
  4. Descendant selector

Correct answer

C. Local selector

12 views

MCQSEXAM

Explanation

"Local selector" is not a CSS selector type. The genuine ones in the options are the type selector (targets an element name such as p), the universal selector (*) and the descendant selector (div p).

Other real selector types include class, ID, attribute and pseudo-class selectors.

For more solved questions like this one, see Computer Science MCQs on MCQsExam.com.

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs