Login for Software or Support

CoffeeCup - HTML Editor, Flash & Web Design Software

Over 48,871,537 Downloads in 87 Countries

Tell a Friend About Our Cool Software

Buy the Book Here !

Chapter 6: Forms and Tables



Not only can you put a form in a table, you can also put a table in a form. This technique can be useful for creating a layout in which the form elements are precisely positioned with respect to each other. You learned about HTML tables in Chapter 4.

The <form> tag has several optional attributes that you may or may not need to use. These are described in Table 6-1.

Table 6-1. Optional attributes of the <form> tag.
 Attribute  Value  Description
 method  get, post  Use method="get" to send the form  data in the URL. Use method="post" to  send the form data in the request body.  If this attribute is omitted then get is  used.
 name  Text  Defines a unique name for the form.  Used primarily on Web pages that  contain more than one form.
 target  _blank, _top  Specifies where the results of the  submission will display. use  target="_blank" to open the results in a  new window. Use target="_top" to open  the results in the same window (the  default).
Within the <form> tags you place the various HTML elements that are used for data entry and submission. You can also include other HTML elements, such as paragraphs and images, within a form. Let's take a look at the various form elements.

« The <form> TagForm Elements »

Table of Contents
Download Our Software:

... and don't forget about our Free Software

CoffeeCup Home Page | Software | Copyright & Legal | Site Map | © 1996 - 2008 CoffeeCup Software, Inc.