Name

<input>

Synopsis

<input type = password>

Description

Create a content-protected text-input element within a <form>.

Attributes

accesskey=char

Define the hot-key character for this element.

disabled

Disable this control, making it inactive.

maxlength=n

Specify the maximum number of characters to accept for this element.

name=string

Specify the name of the parameter to be passed to the form-processing application for this input element (required).

notab

Attributes

Specify that this element is not part of the tabbing order.

onblur=applet

Specify an applet to be run when the mouse leaves this control.

onchange=applet

Specify an applet to be run when the user changes the value of this element.

onfocus=applet

Specify an applet to be run when the mouse enters this control.

onselect=applet

Specify an applet to be run when the user clicks this element.

readonly

Prevent user modification of this element.

size=n

Specify the number of characters to display for this element.

tabindex=n

Specify this element’s position in the tabbing order.

taborder=n

Attributes

Specify this element’s position in the tabbing order.

value=string

Specify the initial value for this element.

See Chapter 6 for more information on using forms.

Get Webmaster in a Nutshell, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.