ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

23-HTML Submit

In HTML, Submit button is used to send data from the form to the back-end process.  Back-end process deals with data processing and databases components.

 

Submit button used <input> tag and the type attribute was set to  “submit” in order to put it on a web page.

 

Example:

<input type=”submit” value=”Submit” />
<input type=”submit” value=”Send” />
<input type=”submit” value=”Save” />

 

Submit buttons send form data to whatever process has been assigned by the action attribute.

 

Example:

<form method=”post” action=”useremail@gmail.com” >
Firstname:<input type=”text” name=”fname” size=”22″ maxlength=”11″ />
Lastname:<input type=”text” name=”lname” size=”33″ maxlength=”22″ />
<input type=”submit” value=”Send Mail” />
</form>

Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!