Which of the following selects input element which has focus?

Which of the following selects input element which has focus?
A. :in-range
B. :hover
C. :focus
D. :invalid
 
Answer: c
Explanation: :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.
 

Tìm kiếm

Back
Top