🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Locators: all 10 questions

Quiz: Locators · Question 1 of 10

Which CSS selector finds an input whose type is email?

Which CSS selector finds an input whose type is email?

  1. A.input.email
  2. B.#input-email
  3. C.input[type='email']
  4. D.//input[@type='email']
Answer & explanation

Correct answer: input[type='email']

The last option is XPath, not CSS.

Can you get the rest right without peeking?

Take the timed Quiz: Locators quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →