An Event Handler executes a segment of a code based on certain
events occurring within the application, such as onFocus Event Handler.
field either by tabbing in or by clicking but not selecting input from the
code when the window gets focused. In windows you need to specify the Event
Handler in the <BODY> attribute. For example: