• Home
  • Chapters
    • Getting Acquainted
    • Start Me Up
    • Working with Images
    • Windows and Frames
    • Form Handling
    • Forms and Regular Expressions
    • Handling Events
    • JavaScript and Cookies
    • Objects and the DOM
  • Resources
    • W3 Schools
    • Google Fonts
    • Awesome Patterns
  • Examples
    • Example 1
    • Example 2
    • Example 3
    • Example 4
    • Example 5
    • Example 6
    • Example 7
    • Example 8
    • Example 9
    • Example 10
  • Contact

Keyboard Events

The most recent event caught was:
(none caught yet)

Event Example
onkeydown
onkeypress
onkeyup


Explanation for Event:

On Key Down: onkeydown - Means your finger has pressed the keyboard key.

On Key Press: onkeypress - This is the combination of the down key and the up key.

On Key Up: onkeyup - Means your finger is off the keyboard key.


⇐Back To "Getting Acquainted"