Intrinsic events are meant to increase interactivity with the users of a site. They may not be directly analyzed by HTML but they rather have to be parsed by a client based or server based script (JavaScript, PHP, ASP).
These events may be applied to majority of the elements. In combination with the scripting they can send important information to the server, modify the web page content or layout on the go and do many other interesting and useful things.
Related elements:
onclick attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
ondblclick attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onmouseover attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onmousedown attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onmouseup attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onmouseout attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onmousemove attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onkeydown attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onkeyup attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
onkeypress attribute:
All elements but APPLET, BASE, BASEFONT, BDO, BR, FONT, FRAME, FRAMESET, HEAD, HTML, IFRAME, ISINDEX, META, PARAM, SCRIPT, STYLE, TITLE
Attribute characteristics and purpose:
onclick attribute:
- event occurs when a pointing device button is clicked over an element
ondblclick attribute:
- occurs when a pointing device button is double clicked over an element
onmouseover attribute:
- event occurs when a mouse is moved onto an element
onmousedown attribute:
- event occurs when a mouse button is pressed over an element
onmouseup attribute:
- event occurs when a mouse button is released over an element
onmouseout attribute:
- event occurs when a mouse is moved away from an element
onmousemove attribute:
- event occurs when a mouse is moved while it is over an element
onkeydown attribute:
- event occurs when a key is pressed down over an element
onkeyup attribute:
- event occurs when a key is released over an element
onkeypress attribute:
- event occurs when a key is pressed and released over an element
Example
HTML standard intrinsic events attributes:
Comments
No comments have been made yet.
Please login to leave a comment. Login now