HTML Codes

HTML Codes > Forms
previous page Automatically Jumping To The Next Field <FORM ACTION="..."> next page

<FORM ...>

Usage Recommendation
thumbs up Use it.

  • TARGET : what frames to put the results in
  • onSubmit : script to run before the form is submitted
  • onReset : script to run before the form is reset

<FORM ...> indicates the beginning of a form. All other form tags go inside <FORM ...> . In its simplest use, <FORM ...> can be used without any attributes:

this code produces this
<FORM>
name: <INPUT><BR>
email: <INPUT>
</FORM>
name:
email:

Most forms require either the ACTION or NAME attributes to do anything meaningful. (The <FORM ...> attribute is always required, but not necessarily used in every situation.) For example, to make this form work, we'll add the <FORM ACTION="..."> attribute, which indicates the CGI program to send the form data to. We'll also use NAME in the <INPUT ...> tags, and add a Submit button :

this code produces this
<FORM ACTION="../cgi-bin/html/mycgi.pl">
name: <INPUT NAME=realname><BR>
email: <INPUT NAME=email><BR>
<INPUT TYPE=SUBMIT>
</FORM>
name:
email:

NAME is useful when you want to use scripting

previous page Automatically Jumping To The Next Field <FORM ACTION="..."> next page



Recommended: Link Popularity Software : WebPosition Gold : Google Cash : Arelis : Optilink : Search Engine Optimization Software : Search Engine Submission Software : Mike's Marketing Tools : Mike's Ecommerce Software : Search Engine Rankings : Link Popularity Checker : Cheap Domain Registration : Keywords