23-HTML Submit

0
250

This tutorial is all about 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=”[email protected]” >
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>

 

Readers might read also:

 

 

Facebook Comments
(Visited 27 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here