Define a password field (characters are masked).
The <input type="password">
defines a password field (characters are masked).
Note: Any forms involving sensitive information like passwords should be served over HTTPS.
Tip: Always add the <label>
tag for best accessibility practices!
<input type="password">
Example:
HTML
<label for="pwd">Password:</label>
<input type="password" id="pwd" name="pwd">
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |