JS Keyboard Events

  • keydown
  • keyup
  • keypress
Qus. 1 : What event is triggered when the user presses a key on the keyboard?

  1. onkeypress
  2. onkeydown
  3. onkeyup
  4. All of the above
Qus. 2 : Which event handler is used to trigger an action when the user releases a key on the keyboard?

  1. onkeypress
  2. onkeydown
  3. onkeyup
  4. onkeyrelease

Programs

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad