Press a key

Function declaration: function onKeyDownFunction(event) {}

Function association: document.onkeydown = onKeyDownFunction;

Syntax: event.keyCode : event.charCode : event.wich : event.shiftKey : event.ctrlKey : event.altKey