Home » CSS » Css miscellaneous » Question
  1. Which of the following selects input element which has focus?
    1. :invalid
    2. :focus
    3. :hover
    4. :in-range
    5. 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.



Your comments will be displayed only after manual approval.