February 2006
Intermediate to advanced
826 pages
63h 42m
English
The attributes and syntax for password entry fields are the same as for the text input type. The only difference is that values (such as the one provided as an initial value in this markup) are replaced with neutral characters, as shown in Figure 15-3.
<p>What is your password?</p>
<input type="password" name="password" size="8" maxlength="8" value="abcdefg" />
Figure 15-3. Password input control
Although the characters entered into the password field are not visible to casual onlookers, the form does not encrypt the information entered and should not be considered to be a real security measure.