Hello everyone!!!Feel free to comments and subscribe!!!

Monday, June 18, 2018

Keyboard key codes for Javascript

A table describe the keyboard key codes for Javascript.

Keyboard keyKey code value
0 to 948 to 57
a to z65 to 90
backspace8
tab9
enter13
shift16
ctrl17
alt18
pause or break19
caps lock20
esc23
space32
page up33
page down34
end35
home36
left arrow37
up arrow38
right arrow39
down arrow40
insert45
delete46
f1 to f12112 to 123

For more information, please visit https://www.w3schools.com.

For next tutorial, key codes will be use to control some element, items and function.

Feel free to subscribe and follow up. Thank you.