Only valid in body and frameset elements.
Attribute:onload,onunload.
Value: scripts,scripts
Description:Script to be run when a document loads ,Script to be run when a document unloads.
Form element events.
only valid in form element.
Attribute:onchange,onsubmit,onreset,onselect,onblur,onfocus.
Value:script,script,script,script,script,script.
Description:Script to be run when the element changes ,Script to be run when the form is submitted ,Script to be run when the form is reset ,Script to be run when the element is selected ,Script to be run when the element loses focus ,Script to be run when the element gets focus .
Keyboard Events.
valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements.
Attribute:onkeydown,onkeypress,onkeyup.
Value:script,script,script,script.
Description:What to do when key is pressed ,What to do when key is pressed and released ,What to do when key is released .
Mouse Events
valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements.
Attribute:onclick,ondblclick,onmousedown,onmousemove,onmouseover,onmouseout,onmouseup.
Value:script,script,script,script,script,script,script.
Description:What to do on a mouse click ,What to do on a mouse doubleclick ,What to do when mouse button is pressed ,What to do when mouse pointer moves ,What to do when mouse pointer moves over an element ,What to do when mouse pointer moves out of an element ,What to do when mouse button is released .
