-
Which of the following selects input element which has focus?
-
- :invalid
- :focus
- :hover
- :in-range
- None of these
Correct Option: B
:focus selects input element which has focus, :hover selects links on mouse hover, :in-range selects input elements with a value within a specified range, :invalid selects all input elements with an invalid value.