HTML | <input type=”submit”>
The HTML <input type=”submit”> is used to define a submit button. It is used to submit all the user value to the form handler. The Form Handler is a server page that activates a script for processing all the input values.
Syntax:
<input type="submit">
Example:
<!DOCTYPE html> < html > < head > < title > HTML Input Type submit </ title > </ head > < style > #Geek_p { font-size: 30px; color: green; } </ style > < body style = "text-align:center;" > < h1 style = "color:green;" > GeeksForGeeks </ h1 > < h2 >HTML < Input Type = "submit" > </ h2 > < form > Name: < input type = "text" > < br > < br > Password: < input type = "password" > < br > < br > < input type = "submit" > </ form > </ body > </ html > |
chevron_right
filter_none
Output:
Supported Browsers:
- Google Chrome
- Firefox
- Edge
- Opera
- Apple Safari