Cheat Sheet of HTML 5 (EVENT HANDLER CONTENT ATTRIBUTES)
In this post you collect some specific attributes that are adding some new attributes in HTML5
to generating event at web pages you can use it very smothaly and simply find some powerful
event ,do very less code ,here we write their name and works shorlty that attributes added in HTML5.
onebeforeonload | Before onload event |
oncanplay | Media can start play |
oncanplaythrough | Media can played to end |
oncontextmenu | context menu is triggered |
ondrag | element is dragged |
ondragend | at the of drag operation |
ondragenter | element dragged on drop target |
ondragleave | element leaves valid drop target |
ondragover | element is dragged over drop target |
ondragstart | at the start of drag operation |
ondrop | dragged element is being dropped |
ondurationchange | length of media is changed |
onemptied | media resource element becomes empty |
onended | media has reached end |
oneerror | error occurs |
onformchange | form changes |
onforminput | form gets user input |
onhaschange | document has changed |
oninput | message is triggered |
oninvalid | element gets user input |
onloadeddata | Media data is loaded |
onloadedmetadata | duration of media element is loaded |
onloadstart | browser starts to load media data |
onmessage | element is invalid |
onmousewheel | mouse wheel is being rotated |
onpause | media data is paused |
onplay | media data is going to start playing |
onplaying | Media data has started playing |
onprogress | browser is fetching media data |
onratechange | media data's rate has changed |
onscroll | element's scrollbar is being scrolled |
onseeked | element's seeking attribute is not true |
onseeking | element's seeking attribute is true |
onstalled | there is error in fetching media data |
onstorage | document loads |
onsuspend | browser has stopped fetching media data |
ontimeupdate | media changes its playing position |
onvolumechange | media changes volume, also when mute |
onwaiting | media has stopped playing |
Existing event handler attributes cheat sheet in HTML4 AND HTML5
you can find some specific attributes that are controled event in html4 and html5 boths.
we write some attributes and their brifly explanations here.
onabort | abort event |
onbeforeunload | before unload event |
onclick | mouse clicked event |
ondblclick | mouse double-clicked event |
ongesturechange | gesture change event |
ongestureend | end of gesture event |
ongesturestart | start of gesture event |
onkeydown | key pressed down event |
onkeypress | key pressed event |
onkeyup | key released event |
onmousedown | mouse button pressed down event |
onmousemove | mouse moved event |
onmouseout | mouse cursor exited event |
onmouseover | mouse cursor entered event |
onmouseup | mouse button released event |
onmove | move event |
onorientationchange | device orientation changed event |
onpaste | paste event |
onresize | resize event |
ontouchcancel | touch canceled event |
ontouchend | touch ended event |
ontouchmove | touch move event |
ontouchstart | touch start event |
0 comments:
Post a Comment