The onkeydown
property returns the onKeyDown
event handler code on the current element.
Syntax
element.onkeydown = event handling code
Notes
The keydown
event is raised when the user presses a keyboard key.
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'onkeydown' in that specification. |
Living Standard |
Document Tags and Contributors
Tags:
Contributors to this page:
cvrebert,
Sebastianz,
teoli,
kosvrouvas,
kscarfone,
Sheppy,
ziyunfei,
fscholz,
Mgjbot,
Pitoutompoilu,
Dria,
JesseW
Last updated by:
cvrebert,