What are HTML DOM events ?
In HTML, DOM (Document Object Model) events allows to call the event driving handlers or listeners on the element nodes in HTML webpage.
What are the other event driven programming language ?
These languages drives the event handlers in HTML,XHTML, XUL, and SVG documents.
What are the basic HTML/DOM events ?
Here is the list of basic HTML/DOM events,
|Sno||HTML DOM Event||Description|
|1||onclick||This occurs when element is clicked.|
|2||ondblclick||This occurs when element is double-clicked.|
|3||onfocus||This occurs when an element gets focus such as button, input, textarea etc.|
|4||onblur||This occurs when form looses the focus from an element.|
|5||onsubmit||This occurs when a form is submitted.|
|6||onmouseover||This occurs when the mouse is moved over an element.|
|7||onmouseout||This occurs when the mouse is moved out from an element (after being moved over).|
|8||onmousedown||This occurs when the mouse button is pressed over an element.|
|9||onmouseup||This occurs when the mouse is released from an element (after the mouse is pressed).|
|10||onload||This occurs when document, object or frameset is loaded.|
|11||onunload||This occurs when body or frameset is unloaded.|
|12||onscroll||This occurs when a document is scrolled.|
|13||onresized||This occurs when a document is resized.|
|14||onreset||This occurs when the form is reset.|
|15||onkeydown||This occurs when the key is being pressed.|
|16||onkeypress||This occurs when the user presses the key.|
|17||onkeyup||This occurs when the key is released.|