Page 245 - DCAP109_GRAPHIC_TOOLS
P. 245
Graphic Tools
Notes
Example:
<form action=”http://www.example.com/test.asp” method=”get”>
<input type=”submit” name=”Submit” value=”Submit” />
<br /><br />
<input type=”reset” value=”Reset” />
<input type=”button” value=”Button” />
</form>
Submit and Reset Button
These are special buttons which can be created using <input> tag. When submit button is clicked
then Forms data is submitted to the back-end application. When reset button is clicked then all
the forms control are reset to default state.
Example:
<form action=”/cgi-bin/hello_get.cgi” method=”get”>
First name:
<input type=”text” name=”first_name” />
<br>
Last name:
<input type=”text” name=”last_name” />
<input type=”submit” value=”Submit” />
<input type=”reset” value=”Reset” />
</form>
238 LOVELY PROFESSIONAL UNIVERSITY