Name
<input type=password>
Synopsis
<input type=
password>
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
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
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, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.