<INPUT> — NN all IE all HTML all
End Tag: Forbidden
element is sometimes known
as a form control, although not all
are visible on the page. For the most part, an
INPUT 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
FORM element is
submitted), or it may be used strictly on the client as a way for
users to interact with client-side scripts.
Prior to HTML 4.0,
INPUT elements were supposed to
be wrapped by a
FORM element in all instances.
This restriction is loosening up, but Navigator 4 still requires the
FORM wrapper in order to render
The primary attribute that determines the kind of control that is
displayed on the page is the
TYPE attribute. This
attribute can have one of the following values:
text. Not all
INPUT 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
INPUT element, the listing specifies the types to
which it applies. Although the
has its own tag, it is often treated like another form control.
<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" ...