1 Hour SEO : Domain Registration Bank : Ecommerce Dictionary : GoDefy : Great Web Design Tips
JavaScript 2 : Jumbo Keyword : Marketing Tips Store : Michael Wong Blog : Mike's Marketing Tools
Search Engines 2 : SEO eBook : Text Links Ads : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML > Forms

Forms Tutorial

Let's look at a very simple form:

this code produces this
<FORM ACTION="/cgi-bin/html/mycgi.pl">
favorite color: <INPUT NAME="color">
</FORM>
favorite color:

This form has all the required elements for a form:

<FORM ACTION="/cgi-bin/html/mycgi.pl">
Start the form here. The ACTION attribute, which is required with every <FORM ...> tag, is used with CGI, discussed below.

<INPUT NAME="color">
Data entry field. <INPUT ...> creates most types of form fields, but <TEXTAREA ...> and <SELECT ...> also create certain types.

</FORM>
End the form here.

Of course, this form doesn't do much. You can type something into the one field, but that's it, nothing happens from there. In the next section, we expand the form a little.

Forms and CGI >>>

          

Copyright © 2002-10 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com