Vidyalelo
JavaScript · Q83

Document Object Model And Event Handling

Programming · JavaScript · question 83

Q83

Which of the following keys are set to true when the keyboard modifier keys are held down?

A.
altKey
B.
ctrlKey
C.
metaKey
D.
all of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
The altKey, ctrlKey, metaKey, and shiftKey properties are set to true when the corresponding keyboard modifier keys are held down.