← 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?
- A.input.email
- B.#input-email
- C.input[type='email']
- 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 →