I want to know the password command while creating html pages. I know the command used in html language is input type password but need information on the declaration of this command. Any recommendations and suggestions are appreciated.
I want to know the password command while creating html pages. I know the command used in html language is input type password but need information on the declaration of this command. Any recommendations and suggestions are appreciated.
The Password input type creates a single line window the user can enter text into. Password is a TYPE attribute value to the INPUT element for FORMs. It's exactly like the text type except when the text is entered, stars appear instead of the typed symbols or letters.
<input type="password" /> Description: The <input type="password" /> tag submits passwords to the form.The input element with a type attribute whose value is "password" represents text which controls a box for entering a password.
Use the following syntax in html to declare input type password :
Code:<input type=”password” name=”pass” size=”10” maxlength=”8”>
Code:<FORM ACTION="../cgi-bin/mycgi.pl" METHOD=POST> name: <INPUT TYPE=TEXT NAME="name"><BR> password: <INPUT TYPE=PASSWORD NAME="password"> <P><INPUT TYPE=SUBMIT VALUE="submit">
Bookmarks