Event Handlers in JavaScript