MCQ Practice Single Best Answer Topic: Javascript DOM & Event Handling MCQ

Q When pressing the Shift key to add a punctuation character, the keyCode property still exists for what value.

Question ID
#5175
Subchapter
Javascript DOM & Event Handling MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Special characters
  • B Alphabets
  • C Alphanumeric
  • D Digits
Correct Answer: D

Explanation

Even if you hold down Shift to enter a punctuation character, the number keys always output keyCode values for the digit that appears on the key.

Share This Question

Share this MCQ with your friends or study group.