Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


Java/Open Source Daily

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


HTML Forms: Form Submit/Clear

These buttons are actually done with Input tags. A RESET button can be used to reset all input values to their defaults, as if no information had been given so far. The SUBMIT button transfers all the form data to the URL specified in the ACTION element.

<Form	method=POST	action="CGI/Menu.cgi">
<Table>
<tr align=left><th>
	<input type=submit name=Button value="Home.">
	<input type=submit name=Button value="Library">
	<input type=submit name=Button value="Search">
	HTML:
	<input type=submit name=Button value="Head.">
	<input type=submit name=Button value="Body.">
	<input type=submit name=Button value="Tables">
	<input type=submit name=Button value="Forms">
	<input type=submit name=Button value="CGI....">
	<input type=submit name=Button value="DB.....">
	<input type=submit name=Button value="HTTP.">
	<input type=submit name=Button value="Style.">
	<br>
	<input type=submit name=Button value="<">
	<input type=submit name=Button value="X">
	<input type=submit name=Button value=">">
</Table>
</Form>
NAME
If NAME is defined on a SUBMIT button, the form will transmit the contents of the VALUE element, thus allowing you to have multiple SUBMIT buttons. This can provide some very useful techniques, such as Next/Previous buttons on slide sequences, or menu buttons without the disadvantages of graphics.

VALUE
Specifies the text to be displayed on the button. If not defined, a default of "Reset" and "Submit Query" will be displayed on the RESET and SUBMIT buttons, respectively.


Up to => Home / Authoring / HTML / Forms