<input type=”submit”>

Sharing is caring!

Value of
<input type="">
What does <input type="submit"> do?
Defines a button that is clicked to submit a form.

Code Example

<form action="myform.cgi">
<input type="password" name="password" id="password" maxlength="6">
<label for="password"> Type a fake password here</label>
<br><input type="submit" value="Submit">

The submit value of input displays a Submit button on a form. Clicking this button will submit the form data.

If you want to use an image in place of a Submit button, use the image input type.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.

Browser Support for submit