HTML & CSS · Junior · Question 66 of 75
What does input[type="email"] select?
- ✓Correct answer:
<input>elements whosetypeattribute equalsemail - 2Inputs that contain a valid email
- 3All inputs inside an element with class
email
Explanation
Attribute selectors also support ^= (starts with), $= (ends with) and *= (contains), e.g. a[href^="https"].