Meet the Keyboard Events

We'll cover the following...

To work with keyboards in a HTML document, there are three events that you will need to familiarize yourself with. Those events are:

  • keydown
  • keypress
  • keyup

Given what these events are called, you probably already have a vague idea of what each event does. The keydown event is fired when you press down on a ...