PNews jun 2015 | Page 9

Tutorials Point, Simply Easy Learning onreadystatechange script Triggers when the ready-state changes onredo script Triggers when the document performs a redo onresize script Triggers when the window is resized onscroll script Triggers when an element's scrollbar is being scrolled onseeked script Triggers when a media element's seeking attribute is no longer true, and the seeking has ended onseeking script Triggers when a media element's seeking attribute is true, and the seeking has begun onselect script Triggers when an element is selected onstalled script Triggers when there is an error in fetching media data onstorage script Triggers when a document loads onsubmit script Triggers when a form is submitted onsuspend script Triggers when the browser has been fetching media data, but stopped before the entire media file was fetched ontimeupdate script Triggers when media changes its playing position onundo script Triggers when a document performs an undo onunload script Triggers when the user leaves the document onvolumechange script Triggers when media changes the volume, also when volume is set to "mute" onwaiting script Triggers when media has stopped playing, but is expected to resume HTML5 Web Forms 2.0 Web Forms 2.0 is an extension to the forms features found in HTML4. Form elements and attributes in HTML5 provide a greater degree of semantic mark-up than HTML4 and remove a great deal of the need for tedious scripting and styling that was required in HTML4. The element in HTML4 HTML4 input elements use the type attribute to specify the data type.HTML4 provides following types: Type Description text A free-form text field, nominally free of line breaks. password H