12. Events : JAVASCRIPT

Events

Events

It very well may be something the program does or something a client does. 


Here are a few instances of HTML events:

  • An HTML page has gotten done with stacking 
  • An HTML input field was changed 
  • An HTML button was clicked 


When events occur, JavaScript allows you to execute code when occasions are identified. HTML permits occasion controller credits, with JavaScript code, to be added to HTML components. 


Here is an outline of some normal HTML events

  • OnChange - A HTML component has been changed 
  • OnClick - The client clicks an HTML component 
  • OnMouseOver - The client moves the mouse over an HTML component 
  • OnMouseOut - The client moves the mouse away from an HTML component 
  • OnKeyDown - The client pushes a console key 
  • OnLoad - The program has wrapped up stacking the page

Post a Comment

0 Comments