Skip to content
Related Articles

Related Articles

Improve Article

HTML | <input type=”submit”>

  • Last Updated : 31 May, 2019

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>

Output:

Supported Browsers:

  • Google Chrome
  • Firefox
  • Edge
  • Opera
  • Apple Safari

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.




My Personal Notes arrow_drop_up
Recommended Articles
Page :