The Keydown Event (onkeydown), The Keypress Event (onkeypress), and The Keyup Event (onkeyup)

The Keydown event occurs when the viewer presses down a key on the keyboard. The event handler used for
this event is onkeydown.

The Keypress event occurs when the viewer presses down a key on the keyboard and the corresponding character is typed. The event handler used for this event is onkeypress.

The Keyup event occurs when the viewer lets go of a key on the keyboard. The event handler used for this event is onkeyup.

Leave a Reply