Online Code Editor
Example of Button Type
The below button displays as the submit button, which is used to submit the form.
The below button displays the reset button, which is used to reset the form to its initial values.
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