Skip to main content

Key Presses

Key Presses Practice

Key presses are often used to interact with a website (Tab order, Enter, Escape, etc.). Press a key and see what you inputted.

You entered:
key:
code:
keyCode:
which:
Tip for automation: avoid relying on keyCode/which (deprecated in modern browsers); prefer event.key and event.code.