<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"><INPUT></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></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"><INPUT></td><td valign="top" nowrap class="requirements">End Tag: Forbidden</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="description"><p>An <span class="literal">INPUT</span>
element is sometimes known
as a form control, although not all <span class="literal">INPUT</span> elements
are visible on the page. For the most part, an
<span class="literal">INPUT</span> element provides a place for users to enter
text, click buttons, and make selections from lists. The data
gathered from this interaction can be submitted to a server-side
program (when the surrounding <span class="literal">FORM</span> element is
submitted), or it may be used strictly on the client as a way for
users to interact with client-side scripts.
</p>
<p>Prior to HTML 4.0, <span class="literal">INPUT</span> elements were supposed to
be wrapped by a <span class="literal">FORM</span> element in all instances.
This restriction is loosening up, but Navigator 4 still requires the
<span class="literal">FORM</span> wrapper in order to render
<span class="literal">INPUT</span> elements.
</p>
<p>The primary attribute that determines the kind of control that is
displayed on the page is the <span class="literal">TYPE</span> attribute. This
attribute can have one of the following values:
<span class="literal">button</span>, <span class="literal">checkbox</span>,
<span class="literal">file</span>, <span class="literal">hidden</span>,
<span class="literal">image</span>, <span class="literal">password</span>,
<span class="literal">radio</span>, <span class="literal">reset</span>,
<span class="literal">submit</span>, or <span class="literal">text</span>. Not all
<span class="literal">INPUT</span> element types utilize the full range of
other attributes; sometimes a single attribute has different powers
with different element types. For each attribute of the
<span class="literal">INPUT</span> element, the listing specifies the types to
which it applies. Although the <span class="literal">TEXTAREA</span> element
has its own tag, it is often treated like another form control.
</p>
</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="example"><span class="title">Example</span>
<span class="programlisting"><pre><FORM METHOD=post ACTION="http://www.giantco.com/cgi-bin/query">
First Name: <INPUT TYPE="text" NAME="first" MAXLENGTH=15><BR>
Last Name: <INPUT TYPE="text" NAME="last" MAXLENGTH=25><BR>
ZIP Code: <INPUT TYPE="text" NAME="zip" MAXLENGTH=10><BR>
<INPUT TYPE="reset">
<INPUT TYPE="submit">
</FORM></pre></span>
</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="objectmodelreference">
<span class="title">Object Model Reference</span>
<table cellpadding="0" border="0" width="100%" class="main">
<tr><td valign="top" width="50" nowrap class="term">NN</td>
<td valign="top" class="listitem">
[window.]document.<span class="emphasis">formName</span>.<span class="emphasis">inputName</span>
<br>
[window.]document.forms[i].elements[i]</td>
</tr>
<tr><td valign="top" width="50" nowrap class="term">IE</td>
<td valign="top" class="listitem">
[window.]document.<span class="emphasis">formName</span>.<span class="emphasis">inputName</span>
<br>
[window.]document.forms[i].elements[i]<br>
[window.]document.all<span class="emphasis">.elementID</span></td>
</tr>
</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></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">ACCEPT="<emphasis>MIMETypeList</emphasis>"</td><td valign="top" nowrap class="requirements">Optional</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="description"><p>Specifies 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 is not even sent to
the server. The HTML 4.0 specification also has this attribute
available in the <span class="literal">FORM</span> element. It is unclear
whether the implementations in browsers will recognize this attribute
in both places.
</p>
</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="inputtypes"><table cellpadding="0" border="0" width="100%" class="main"><tr><td valign="top" width="80" nowrap class="title">Input Types</td>
<td valign="top" class="inputtypesvalue"><span class="literal">file</span></td></tr></table>
</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="example"><span class="title">Example</span>
<span class="programlisting"><pre><INPUT TYPE="file" ACCEPT="text/html, image/gif" ...></pre></span>
</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="value"><span class="title">Value</span><br> Case-insensitive MIME type (content type) value. For multiple items, a comma-delimited list is allowed. </td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="default"><table cellpadding="0" border="0" width="100%" class="main"><tr><td valign="top" width="50" nowrap class="title">Default</td>
<td valign="top" class="defaultvalue">None.</td></tr></table>
</td></tr></table></div>
<div id="ACCESSKEY"><table cellpadding="0" cellspacing="0" border="0" width="100%" class="main"><tr><td valign="top" class="name">ACCESSKEY</td><td valign="top" nowrap class="compatibility">NN<span class="emphasis"> n/a</span> IE<span class="emphasis"> 4</span> HTML<span class="emphasis"> 4</span></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">ACCESSKEY="<emphasis>character</emphasis>"</td><td valign="top" nowrap class="requirements">Optional</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="description"><p>A single character key that brings focus to the input element. The
browser and operating system determine if the user must press a
modifier key (e.g., <emphasis role="bold">Ctrl</span>, <emphasis
role="bold">Alt</span>, or <emphasis
role="bold">Command</span>) with the access key to activate the
link. In IE 4/Windows, the <emphasis role="bold">Alt </span>key
is required, and the key is not case sensitive. This attribute does
not work in IE 4/Mac.
</p>
</td></tr><tr><td colspan="2" class="clearseparation"> </td></tr><tr><td valign="top" colspan="2" class="inputtypes"><table cellpaddin