Thursday, August 26, 2010

What is HTML Event Attributes

HTML 5 Event Attributes complete list has been given below so kindly check this all attribute how is different from html 4.01 and xhtml1.0
Attribute Value Description 4 5
onabort script Script to be run on an abort event
5
onbeforeonload script Script to be run before an element is loaded
5
onbeforeunload script Script to be run before an element is unloaded

onblur script Script to be run when an element loses focus 4 5
onchange script Script to be run when an element changes 4 5
onclick script Script to be run on a mouse click 4 5
oncontextmenu script Script to be run when a context menu is triggered
5
ondblclick script Script to be run on a mouse double-click 4 5
ondrag script Script to be run when an element is dragged
5
ondragend script Script to be run at the end of a drag operation
5
ondragenter script Script to be run when an element has been dragged to a valid
drop target

5
ondragleave script Script to be run when an element leaves a valid drop target
5
ondragover script Script to be run when an element is being dragged over a
valid drop target

5
ondragstart script Script to be run at the start of a drag operation
5
ondrop script Script to be run when dragged element is being dropped
5
onerror script Script to be run when an error occurs during the loading of an
element

5
onfocus script Script to be run when an element gets focus 4 5
onkeydown script Script to be run when a key is pressed 4 5
onkeypress script Script to be run when a key is pressed and released 4 5
onkeyup script Script to be run when a key is released 4 5
onload script Script to be run when a document loads 4 5
onmessage script Script to be run when a message event is being triggered
5
onmousedown script Script to be run when a mouse button is pressed 4 5
onmousemove script Script to be run when the mouse pointer moves 4 5
onmouseover script Script to be run when the mouse pointer moves over an
element
4 5
onmouseout script Script to be run when the mouse pointer moves out of an
element
4 5
onmouseup script Script to be run when a mouse button is released 4 5
onmousewheel script Script to be run when the mouse wheel is being rotated
5
onreset script Script to be run when a form is reset. Not supported 4
onresize script Script to be run when an element is being resized
5
onscroll script Script to be run when an element’s scrollbar is scrolled
5
onselect script Script to be run when an element is selected 4 5
onsubmit script Script to be run when a form is submitted 4 5
onunload script Script to be run when a document unloads
5
thanks for visiting my blog..
link building services

1 comment:

  1. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can’t wait to read lots of your posts.

    ReplyDelete