<form name="myForm" action="http://www.PuStudy.Com/resources/html-forms-action.html"> <input type="text" name="myTextField"> <input type="submit" name="mySubmitField"> </form>
The above example demonstrates usage of the
<input> element with the
type attribute set to
submit value represents a submit button. A submit button is used to submit the contents of the form that it is associated with.
You can use the
value attribute to provide a value that will appear on the submit button. If you don't provide this, the button will typically render with the text Submit or similar.