The text input type has already been covered, so moving on to the "password" type.
We can define a password field by using this line:
HTML file: | Displayed by browser: |
---|---|
<form>
User name:<br /> <input type="text" name="username"> <br /><br /> User password:<br /> <input type="password" name="psw"> </form> |
The characters in a password field are masked (shown as asterisks or circles).