HTML | DOM keyboardEvent charCode Property
The keyboardEvent charCode property in HTML is used to return the unicode value of a character key pressed during a keypress event. It is a read-only property. The unicode character denotes the number of a character(e.g. the unicode for “A” is 65).
Note: This property has been DEPRECATED and is no longer recommended.
Return Value: It returns a number which represents the unicode number of the pressed character.
Supported Browsers: The browser supported by keyboardEvent charCode property are listed below:
- Apple Safari
- Google Chrome
- Internet Explorer 9.0