Key code comparison table
Fav| 按键 | 键码 | 按键 | 键码 |
|---|---|---|---|
| A | 65 | S | 83 |
| B | 66 | T | 84 |
| C | 67 | U | 85 |
| D | 68 | V | 86 |
| E | 69 | W | 87 |
| F | 70 | X | 88 |
| G | 71 | Y | 89 |
| H | 72 | Z | 90 |
| I | 73 | 0 | 48 |
| J | 74 | 1 | 49 |
| K | 75 | 2 | 50 |
| L | 76 | 3 | 51 |
| M | 77 | 4 | 52 |
| N | 78 | 5 | 53 |
| O | 79 | 6 | 54 |
| P | 80 | 7 | 55 |
| Q | 81 | 8 | 56 |
| R | 82 | 9 | 57 |
| 按键 | 键码 | 按键 | 键码 |
|---|---|---|---|
| 0 | 96 | 8 | 104 |
| 1 | 97 | 9 | 105 |
| 2 | 98 | * | 106 |
| 3 | 99 | + | 107 |
| 4 | 100 | Enter | 108 |
| 5 | 101 | - | 109 |
| 6 | 102 | . | 110 |
| 7 | 103 | / | 111 |
| 按键 | 键码 | 按键 | 键码 |
|---|---|---|---|
| F1 | 112 | F7 | 118 |
| F2 | 113 | F8 | 119 |
| F3 | 114 | F9 | 120 |
| F4 | 115 | F10 | 121 |
| F5 | 116 | F11 | 122 |
| F6 | 117 | F12 | 123 |
| 按键 | 键码 | 按键 | 键码 |
|---|---|---|---|
| BackSpace | 8 | Esc | 27 |
| Tab | 9 | Spacebar | 32 |
| Clear | 12 | Page Up | 33 |
| Enter | 13 | Page Down | 34 |
| Shift | 16 | End | 35 |
| Control | 17 | Home | 36 |
| Alt | 18 | Left Arrow | 37 |
| Cape Lock | 20 | Up Arrow | 38 |
| Right Arrow | 39 | -_ | 189 |
| Dw Arrow | 40 | .> | 190 |
| Insert | 45 | /? | 191 |
| Delete | 46 | `~ | 192 |
| Num Lock | 144 | [{ | 219 |
| ;: | 186 | /| | 220 |
| =+ | 187 | ]} | 221 |
| ,< | 188 | '" | 222 |
| 按键 | 键码 | 按键 | 键码 |
|---|---|---|---|
| 音量加 | 175 | 音量减 | 174 |
| 停止 | 179 | 静音 | 173 |
| 浏览器 | 172 | 邮件 | 180 |
| 搜索 | 170 | 收藏 | 171 |
1. keyCode is a numerical value associated with a specific keyboard key, provided by the browser when a keyboard event occurs.
2. When a user presses a key on the keyboard, JavaScript can access this keycode via the event object to determine which key was pressed.
3. Keycodes are typically used in the following JavaScript events:
(1) keydown event: Triggered when the user presses any key on the keyboard.
(2) `keyup` event: Triggered when the user releases a key on the keyboard.
4. KeyCode limitations: Case-insensitive, not restricted by keyboard layout, and function keys do not generate a KeyCode.
5. KeyCode may be deprecated in the future; alternative solutions should be used when working with KeyCode.
Recommended Tools
Audio Splicing Tool
Splicing and merging multiple audio files online into one audio file.
Browser information viewing
An online tool that allows free viewing of current browser details
Chmod Calculator
A powerful tool for quickly calculating Linux file permissions
Wood density calculator
Calculate the density of wood talent online
Circular radius/diameter calculator
Calculate the radius/diameter of a circle online
Online circular area calculator
A small tool for online calculation of circular area
Circular perimeter calculator
Calculate the circumference of a circle online
CMYK Color Comparison Table
This tool provides CMYK color codes, RGB and CMYK color comparison tables
Calculation of intermediate color between two colors
Intermediate color calculation tool between two colors
CSS Twisted Gradient Background Generator
Unique liquid distortion gradient effect, real-time preview and access to CSS code!
DES Tool
DES online encryption tool/DES online decryption tool
Online Dinglan ruler query
Online Dinglan ruler auspicious and inauspicious number query
Convert Excel to HTML Table
Convert Excel text to HTML table code
Copy paper scaling ratio calculator
Online calculation of scaling between different sizes of photocopy paper
Drinking water calculator
Calculate daily water intake based on weight online
HTML/ASP conversion tool
Online HTML code and ASP conversion tool
Annual/Monthly/Daily Interest Rate Conversion Calculator
Online conversion of annual, monthly, and daily interest rates
Morse code converter
Morse Code Online Encoding and Decoding Tool
Online camera recording
A small tool for recording videos through a computer camera
Dinosaur, run fast
A Google mini game called Dinosaur Run Online Trial
Zodiac Marriage Matching Query
Check online whether the marriage between two zodiac signs matches
Speed converter
Speed online conversion tool
Table to JSON conversion
Convert table information to JSON data online
TripleDes encryption and decryption tool
TripleDes online encryption tool/TripleDes online decryption tool
























粤ICP备2021116614号