<html>
<link rel="stylesheet" href="josh.css">
<body bgcolor="#FFFFFF">

		<div id="Description">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">&lt;FORM&gt;</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">all</span> IE <span class="emphasis">all</span> HTML <span class="emphasis">all</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">&lt;FORM&gt;...&lt;/FORM&gt;</p>
					</td><td valign="top" nowrap class="requirements">HTML End Tag: Required&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Despite the importance of HTML forms in communication between web
page visitors and the server, a <span class="literal">form</span> element at
its heart is nothing more than a container of controls. Most, but not
all, form controls are created in the document as
<span class="literal">input</span> elements. Even if user interaction with
<span class="literal">input</span> elements is not intended for submission to a
server (perhaps some client-side scripting requires interaction with
the user), such <span class="literal">input</span> elements are contained by a
<span class="literal">form</span> elementand must be nested inside a
<span class="literal">form</span> element to render at all in Navigator 4 or
earlier.
</p><p>A document may contain any number of <span class="literal">form</span>
elements, but a client may submit the settings of controls from only
one form at a time. Therefore, the only time it makes sense to divide
a series of form controls into multiple <span class="literal">form</span>
elements is when the control groups can be submitted independently of
each other. If you need to logically or structurally group controls
while maintaining a single form, use the <span class="literal">fieldset</span>
element to create the necessary subgroupings of controls.
</p><p>When a form is submitted to the server, all controls that have
<span class="literal">name</span> attributes assigned to them pass both their
names and valuesin name/value pairsto the server for
further processing (or possibly as an email attachment or message
with the help of a browser's e-mail module). A
Common Gateway Interface (CGI) program running on the server can
accept and dissect the name/value pairs for further processing
(adding a record to a server database or initiating a keyword search,
for example). The server program is invoked via URL to the program
assigned to the <span class="literal">action</span> attribute.
</p><p>Inside browsers, the submission process consists of a few
well-defined steps. The process begins with the browser assembling a
form data set out of the name/value pairs of form controls. The name
comes from the value assigned to the <span class="literal">name</span>
attribute. A control's value depends on the type of
control. For example, a text input element's value
is the content appearing in the text box at submission time; for a
radio button within a radio group (all of whose
<span class="literal">name</span> attributes are assigned the same value), the
value assigned to the <span class="literal">value</span> attribute of the
selected radio button is inserted into the name/value pair for the
radio group.
</p><p>The W3C recommendations prefer that form controls use their
<span class="literal">id</span> attributes in name/value pairs. As of Version 6
browsers, however, only the <span class="literal">name</span> attribute is
recognized as an identifier for the submitted name/value pair.
</p><p>The second step of submission encodes the text of each name/value
pair. A <span class="literal">+</span> symbol is substituted for each space
character. Reserved characters (as defined by RFC 1738) are escaped,
and all other nonalphanumeric characters are converted to hexadecimal
representations (in the form
<span class="literal">%</span><span class="replaceable">HH</span>, where
<span class="replaceable">HH</span> is the hex code for the ASCII value of
the character). Name and value components of each name/value pair are
separated by an <span class="literal">=</span> symbol, and each name/value pair
is delimited with an ampersand (<span class="literal">&amp;</span>).
</p><p>In the final step, the <span class="literal">method</span> attribute setting
determines how the escaped form data set is transmitted to the
server. With a <span class="literal">method</span> of <span class="literal">get</span>,
the form data set is appended to the URL stated in the
<span class="literal">action</span> attribute, separated by a
<span class="literal">?</span> symbol. With a <span class="literal">method</span> of
<span class="literal">post</span> and a default <span class="literal">enctype</span>, the
data set is transmitted as a kind of (non-email) message to the
server. Data submitted via the <span class="literal">GET</span> method is
limited in character length, while the <span class="literal">POST</span> method
offers unlimited data length and no echoed display in the
browser's Address box.
</p><p>Default behavior of the <span class="emphasis">Enter</span> key in
forms has evolved into a recognized standard. When a form consists of
a single text <span class="literal">input</span> element, pressing the
<span class="emphasis">Enter</span> (or <span class="emphasis">Return</span>) key automatically submits the form (as
if the user had clicked on a <span class="literal">submit</span> button
element. If the form consists of two or more text
<span class="literal">input</span> elements, the <span class="emphasis">Enter</span>
(or <span class="emphasis">Return</span>) key does not
automatically submit the form (with the exception of IE/Mac).
</p><p>Form submission can be canceled in modern browsers with the help of
scripts that perform validation checking or other functions triggered
by the <span class="literal">onsubmit</span> event handler. This event fires
prior to the form being submitted. If the event handler evaluates to
<span class="literal">return false</span>, the form is not submitted, and the
user may continue to edit the form elements.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM name="orders" method="POST" action="http://www.giantco.com/cgi-bin/order"&gt;
...
&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i]
[window.]document.forms[<span class="replaceable">formName</span>]
[window.]document.<span class="replaceable">formName</span>
[window.]document.getElementById(<span class="replaceable">elementID)</span></pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Element-Specific Attributes</span></td>
				</tr>
				<tr>
      <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
    </tr><tr>
					<td>
						<table border="1"><tbody><tr><td><span class="literal">accept</span></td><td><span class="literal">accept-charset</span></td><td><span class="literal">acceptcharset</span></td><td><span class="literal">action</span></td><td><span class="literal">autocomplete</span></td>
								</tr>
								<tr><td><span class="literal">enctype</span></td><td><span class="literal">method</span></td><td><span class="literal">name</span></td><td><span class="literal">target</span></td><td></td>
								</tr>
							</tbody></table>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Element-Specific Event Handler Attributes</span></td>
				</tr>
				<tr>
      <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
    </tr><tr>
					<td>
						<table border="1"><tbody><th>Handler</th><th>NN</th><th>IE</th><th>HTML</th><tr><td>onreset</td><td>3</td><td>4</td><td>4</td>
								</tr>
								<tr><td>onsubmit</td><td>2</td><td>3</td><td>4</td>
								</tr>
							</tbody></table>
					</td>
				</tr>
			</table>
		</div><div id="accept">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">accept</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">n/a</span> IE <span class="emphasis">n/a</span> HTML <span class="emphasis">4</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">accept="<span class="replaceable">MIMETypeList</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Intended for use with <span class="literal">input</span> elements of type
<span class="literal">file</span>, the <span class="literal">accept</span> attribute lets
you specify one or more MIME types for allowable files to be uploaded
to the server when the form is submitted. The predicted
implementation of this attribute would filter the file types listed
in file dialogs used to select files for uploading. In a way, this
attribute provides client-side validation of a file type so that
files not conforming to the permitted MIME type are not even sent to
the server.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM accept="text/html, image/gif" ...&gt;...&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>Case-insensitive MIME type (content type) value. For multiple items,
a comma-delimited list is allowed. A catalog of registered MIME types
is available from ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p>None. </p>
					</td>
				</tr>
			</table>
		</div><div id="accept-charset, acceptcharset">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">accept-charset, acceptcharset</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">6</span> IE <span class="emphasis">5</span> HTML <span class="emphasis">4</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">accept-charset="<span class="replaceable">MIMETypeList</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>A server advisory (for servers that are equipped to interpret the
information) about which character sets it must receive from a client
form. The hyphenated version is from the HTML 4 specification, but IE
5 and later/Windows and Netscape 6 implement the attribute name
without the hyphen.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM accept-charset="it, es" ...&gt;...&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>Case-insensitive alias from the character set registry (ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets).
Multiple character sets may be delimited by commas. The reserved
value, <span class="literal">unknown</span>, is supposed to represent the
character set that the server used to generate the form for the
client.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">unknown</span></p>
					</td>
				</tr>
			</table>
		</div><div id="action">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">action</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">all</span> IE <span class="emphasis">all</span> HTML <span class="emphasis">all</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">action="<span class="replaceable">URL</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Specifies the URL to be accessed when the form is being submitted.
When the form is submitted to a server for further processing, the
URL may be to a CGI program or to an HTML page that includes
server-side scripts. (Those scripts execute on the server before the
HTML page is downloaded to the client.) As a result of the
submission, the server returns an HTML page for display in the
client. If the returned display is to be delivered to a different
frame or window, the <span class="literal">target</span> attribute must be
specified accordingly.
</p><p>You may also substitute a <span class="literal">mailto:</span> URL for the
<span class="literal">action</span> attribute value. Navigator turns the
name/value pairs of the form into a document for attachment to an
email message (or as the message body with the
<span class="literal">enctype</span> attribute set to
<span class="literal">"text/plain"</span> and the <span class="literal">enctype</span>
attribute precedes the <span class="literal">action</span> attribute). For
privacy reasons, client users are notified of the impending email
transmission and have the chance to cancel the message.
</p><p>Form-mailing capabilities are essentially disabled in Netscape 6 and
7. Implementations across all browsers are very unevenyou may
be missing form submissions from many users. If CGI processing of
forms is beyond your expertise, search for third-party FormMail
services that forward forms to you via email.
</p><p>If you omit the <span class="literal">action</span> attribute and the form is
submitted, the current page reloads itself, returning all form
elements to their default values.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM method="POST" action="http://www.giantco.com/orders/order.html"&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>A complete or relative URL.</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p>None.</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i].action
[window.]document.forms[<span class="replaceable">formName</span>].action
[window.]document.<span class="replaceable">formName</span>.action
[window.]document.getElementById(<span class="replaceable">elementID)</span>.action</pre>
						</span></td>
				</tr>
			</table>
		</div><div id="autocomplete">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">autocomplete</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">n/a</span> IE <span class="emphasis">5</span> HTML <span class="emphasis">n/a</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">autocomplete="<span class="replaceable">featureSwitch</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>If an IE user has automatic form completion preference enabled, the
<span class="literal">autocomplete</span> attribute governs the feature for the
entire form. You must also specify <span class="literal">vcard-name</span>
attributes for text and password type <span class="literal">input</span>
elements to let the browser pre-fill or assist the entry of a
particular named field that matches one of the preferences entries.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM method="POST" action="register.pl" autocomplete="on"&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>Constants: <span class="literal">on</span> | <span class="literal">off</span>.</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">off</span></p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i].autoComplete
[window.]document.forms[<span class="replaceable">formName</span>].autoComplete
[window.]document.<span class="replaceable">formName</span>.autoComplete
[window.]document.getElementById(<span class="replaceable">elementID)</span>.autoComplete</pre>
						</span></td>
				</tr>
			</table>
		</div><div id="enctype">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">enctype</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">all</span> IE <span class="emphasis">all</span> HTML <span class="emphasis">all</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">enctype="<span class="replaceable">MIMEType</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Sets a MIME type for the data being submitted to the server with the
form. For typical form submissions (where the
<span class="literal">method</span> attribute is set to
<span class="literal">POST</span>), the default value is the proper content
type. If you include a file input element, specify
<span class="literal">"multipart/form-data"</span> as the
<span class="literal">enctype</span> attribute.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM method="POST" enctype="text/plain" action="mailto:orders@giantco.com"&gt;
...
&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>MIME type (content type) value. For multiple items, a comma-delimited
list is allowed.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">application/x-www-form-urlencoded</span></p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i].encoding
[window.]document.forms[<span class="replaceable">formName</span>].encoding
[window.]document.<span class="replaceable">formName</span>.encoding
[window.]document.getElementById(<span class="replaceable">elementID)</span>.encoding</pre>
						</span></td>
				</tr>
			</table>
		</div>
		<div id="lang">
					<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
						<tr><td valign="top" class="name">lang</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">3</span> IE <span class="emphasis">4</span> HTML <span class="emphasis">4</span>&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
						</tr>
						<tr>
							<td valign="top" nowrap class="usage"><p class="literal">lang="<span class="replaceable">languageCode</span>"</p>
							</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="description"><p>The language being used for the element's attribute
		values and content. A browser can use this information to assist in
		proper rendering of content with respect to details such as treatment
		of ligatures (when supported by a particular font or required by a
		written language), quotation marks, and hyphenation. Other
		applications and search engines might use this information to aid the
		selection of spell-checking dictionaries and the creation of indices.
		</p>
							</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
						</tr>
						<tr>
							<td><span class="programlisting"><pre>&lt;SPAN lang="de"&gt;Deutsche Bundesbahn&lt;/SPAN&gt;</pre>
								</span></td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
						</tr>
						<tr>
							<td><p>Case-insensitive language code.</p>
							</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
						</tr>
						<tr>
							<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
						</tr>
						<tr>
							<td><p>Browser default.</p>
							</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
						</tr>
						<tr>
							<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
						</tr>
						<tr>
							<td><span class="programlisting"><pre>[window.]document.getElementById(<span class="replaceable">elementID).</span>lang</pre>
								</span></td>
						</tr>
					</table>
		</div>
		<div id="method">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">method</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">all</span> IE <span class="emphasis">all</span> HTML <span class="emphasis">all</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">method="GET" | "POST"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Forms may be submitted via two possible HTTP methods:
<span class="literal">GET</span> and <span class="literal">POST</span>. These methods
determine whether the form element data is sent to the server
appended to the <span class="literal">action</span> attribute URL
(<span class="literal">GET</span>) or as a transaction message body
(<span class="literal">POST</span>). In practice, when the
<span class="literal">action</span> and <span class="literal">method</span> attributes
are not assigned in a <span class="literal">form</span> element, the form
performs an unconditional reload of the same document, restoring form
controls to their default values.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM method="POST" action="http://www@giantco.com/orders/order.html"&gt;
...
&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>Constant values of <span class="literal">GET</span> or <span class="literal">POST</span>.
Browsers respond to upper- or lowercase values.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">GET</span></p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i].method
[window.]document.forms[<span class="replaceable">formName</span>].method
[window.]document.<span class="replaceable">formName</span>.method
[window.]document.getElementById(<span class="replaceable">elementID)</span>.method</pre>
						</span></td>
				</tr>
			</table>
		</div><div id="name">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">name</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">2</span> IE <span class="emphasis">3</span> HTML <span class="emphasis">n/a</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">name="<span class="replaceable">elementIdentifier</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>Assigns an identifier to the entire <span class="literal">form</span> element.
This value is particularly useful in writing scripts for older
browsers that reference the form or its nested controls. Newer
browsers support the preferred <span class="literal">id</span> attribute for
this purpose, but the <span class="literal">name</span> attribute is still
needed for form submission.
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM name="orders" id="orders" method="POST"
action="http://www.giantco.com/cgi-bin/order"&gt;
...
&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>Case-sensitive identifier.</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p>None.</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i].name
[window.]document.forms[<span class="replaceable">formName</span>].name
[window.]document.<span class="replaceable">formName</span>.name
[window.]document.getElementById(<span class="replaceable">elementID)</span>.name</pre>
						</span></td>
				</tr>
			</table>
		</div><div id="target">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
				<tr><td valign="top" class="name">target</td><td valign="top" nowrap class="compatibility">NN <span class="emphasis">all</span> IE <span class="emphasis">all</span> HTML <span class="emphasis">all</span>&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
				</tr>
				<tr>
					<td valign="top" nowrap class="usage"><p class="literal">target="<span class="replaceable">windowOrFrameName</span>"</p>
					</td><td valign="top" nowrap class="requirements">Optional&nbsp;&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="description"><p>If the HTML document returned from the server after it processes the
form submission is to be loaded into a window or frame other than the
current window or frame, you can specify where the returned document
should load by assigning a window or frame name to the
<span class="literal">target</span> attribute. Target frame names must be
assigned to frames and windows as identifiers. Assign names to frames
via the <span class="literal">name</span> attribute of the
<span class="literal">frame</span> element; assign names to new windows via the
second parameter of the <span class="literal">window.open( )</span> scripting
method. If you omit this attribute, the returned document replaces
the document containing the <span class="literal">form</span> element. An
identifier other than one belonging to an existing frame or window
opens a new window for the returned document.
</p><p>If the form is located in a subwindow, and you want the target to be
the main window, you must first use a script to assign an identifier
to the <span class="literal">name</span> property of the main window. Use that
name as the value of the form's
<span class="literal">target</span> attribute.
</p><p>Strict DTDs for HTML 4 and XHTML do not support the
<span class="literal">target</span> attribute of any element because frames and
windows are outside the scope of pure document markup. In fact,
framesetting documents will not validate in the strict
environmentthus the purpose of the separate frameset DTDs for
HTML 4 and XHTML. If your documents must validate with these strict
DTDs, and you wish to support targets, use scripts to set
<span class="literal">target</span> properties of links, image maps, and forms
after the page has loaded.
</p><p>A <span class="literal">form</span> element can have only one returned document
and one target. If you want a form submission to change the content
of multiple frames, you can include a script in the returned document
whose <span class="literal">onload</span> event handler loads or dynamically
writes a document into a different frame. (Set the
<span class="literal">location.href</span> property of each frame to a desired
URL.)
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="example"><span class="title">Example</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>&lt;FORM method="POST" action="http://www.giantco.com/cgi-bin/order" target="new"&gt;
...
&lt;/FORM&gt;</pre>
						</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="value"><span class="title">Value</span></td>
				</tr>
				<tr>
					<td><p>Case-sensitive identifier when the frame or window name has been
assigned via the target element's
<span class="literal">name</span> attribute. Four reserved target names act as
constants:
</p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" nowrap colspan="2" class="default"><span class="title">Default</span></td>
				</tr>
				<tr>
					<td><p><span class="literal">_self</span></p>
					</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="objectmodelreference"><span class="title">Object Model Reference</span></td>
				</tr>
				<tr>
					<td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
				</tr>
				<tr>
					<td><span class="programlisting"><pre>[window.]document.forms[i].target
[window.]document.forms[<span class="replaceable">formName</span>].target
[window.]document.<span class="replaceable">formName</span>.target
[window.]document.getElementById(<span class="replaceable">elementID)</span>.target </pre>
						</span></td>
				</tr>
			</table>
		</div>
</body>
</html>