What are Form Event Attributes in HTML
In this article we will discuss about what are the Form Event Attributes in HTML.
There are various kinds of Event Attributes for the Form Element in the HTML. These events occur when special kind of action perform on the Form element and there is a list of event attributes for the Form Element in HTML and these are special kind of standard event Attributes which can be inserted in Form attribute to define event actions.
Event Attributes for the Form Element:
Event Attribute |
Value |
Explanation |
onsubmit |
Script |
When a form will be submit a Script will be run. |
onselect |
Script |
When a form will be selected a Script will be run. |
onreset |
Script |
When a form will be reset a Script will be run. |
onfocus |
Script |
When a form will gets focus a Script will be run. |
onchange |
Script |
When a form gets change a Script will be run. |
onblur |
Script |
When a form loses focus a Script will be run. |
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here