Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

HTML Form Tutorial, Part I

By Will Bontrager
2004-07-06


Form Related Tags

Between the <form> and </form> tags are the tags that create the body of the form. These are <select> (for drop-down and menu boxes), <textarea> (for multi-line text areas), and <input> (for the rest).

Every form related tag can have a name attribute. Some require it, others don't.

The assigned name is sent with the information and helps the receiving program or function identify the information chunks it receives.

Some receiving programs and functions consider tag names to be case sensitive; some do not. If you don't know which applies to your form, assume tag names are case sensitive.

Some receiving programs and functions are okay with tag names containing spaces; some are not. If you don't know whether or not it is okay to use spaces in your form's tag names, use underscore characters instead of spaces. Underscore characters are almost always okay within tag names so long as the name doesn't start or end with an underscore.

Here is an example name attribute:

name="my_tag_name"

In most situations, it is highly desirable that no duplicate names exist within the form.

Tutorial Pages:
» HTML Form Tutorial, Part I
» How Information Is Sent
» Specifying the Encoding Method for the Information Being Sent
» Form Related Tags
» The <input> Tag
» Part II


Copyright 2004 Bontrager Connection, LLC


 | Bookmark
Related Tutorials:
» Enrich Your Web Applications
» Microsoft Complicates HTML Emails With Outlook 2007
» Testing Your Forms for Hijacking Vulnerability
» Control Your Domain Registration Data
» HTML Forms POST, GET
» HTML Tables

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources