HTML <input> Tag with 'type=submit'
<form name="myForm" action="http://www.htmlcodes.ws/resources/html-forms-action.cfm">
<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
(i.e. type="submit"
).
The 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.