HTML form input password
From w3cyberlearnings
Contents |
HTML - Password Input Field
Password input field marks the input as star, and it is usually used for password entry.
HTML - Syntax Password Input Field
<input type="password" name="pwd"/>
Example TRY-IT
<html> <head> <title>Request Infor</title> </head> <body> <p>Request Information</p> <form action="" method="post"> <table> <tr> <td>First Name:</td> <td> <input type="text" name="first_name" size="15" maxlength="50"/> </td> </tr> <tr> <td>Last Name:</td> <td> <input type="text" name="last_name" size="15" maxlength="50"/> </td> </tr> <tr> <td>Login Email:</td> <td> <input type="text" name="login_email" size="15" /> </td> </tr> <tr> <td>Password:</td> <td> <input type="password" name="password1" size="15" /> </td> </tr> <tr> <td>Confirm Password:</td> <td> <input type="password" name="password2" size="15" /> </td> </tr> <tr> <td colspan="2"> <input type="submit" name="request_fff" value="Request Information"/> </td> </tr> </table> </form> </body> </html>
Output
Related Link
- Form Input Password
- Form Input Textarea
- Form Select
- Form optgroup tag
- Form Label