Run
Online Code Editor
Example of Button Type
Registration Form
Firstname
Middlename:
Lastname:
Gender :
Male
Female
Other
Phone :
Email
The below button displays as the submit button, which is used to submit the form.
Submit
The below button displays the reset button, which is used to reset the form to its initial values.
Reset
The below button displays a message on a web page when you click on it. After clicking on a button, a function is called from the script tag.
Print a Simple Message