Event is something that can respond to particular action.
Some of the commonly used events are:
This event is applicable to controls like button, radio button, check box, submit button etc.
alert('Hello! How are you?');
<input type ="button" value ="Click" onclick ="return f();" >
Execution of the Page: