Add a Submit Button to a Form

What is Submit Button:-


Submit button is added for a form. When submit is clicked it triggers to the address written in the "action" attribute of form element.  You can create a submit button on your web page with is simple syntax:   <input type="submit" value="Submit" name="submit">.
you can add this syantax in your form for creating  the submit button.





For Example:

<html>
<head>
<title> your web page title name </title>
</head>
<body>
<h1> This is your Form </h1>
<form>
<label for ="name">First Name</label>
<input type="text" name="name">
<label for ="Last Name">Last Name</label>

<input type="text" name="Last Name">
<label for ="Phone">Phone</label>

<input type="Phone" name="Phone">
<label for ="email">Email</label>

<input type="email" name="email">
<input type="submit" value="Submit" name="submit">
</form>
</body>
</html>



Output:















Please Share To Other:

Post a Comment

0 Comments