How to create Password fields in HTML script ?
Solution :
Step 1: Go to Notepad.
Step 2: Copy the HTML script below to the notepad.
<html>
<body>
<form action="">
Username: <input type="text" name="user" /><br />
Password: <input type="password" name="password" />
</form>
<p><b>Note:</b> The characters in a password field are masked (shown as asterisks or circles).</p>
</body>
</html>
Step 3: Now save the file with .html format.
Step 4: Close the notepad and now open the saved file in your default browser .
That's it !
You will see as like the below picture when you type the username and password.
Solution :
Step 1: Go to Notepad.
Step 2: Copy the HTML script below to the notepad.
<html>
<body>
<form action="">
Username: <input type="text" name="user" /><br />
Password: <input type="password" name="password" />
</form>
<p><b>Note:</b> The characters in a password field are masked (shown as asterisks or circles).</p>
</body>
</html>
Step 3: Now save the file with .html format.
Step 4: Close the notepad and now open the saved file in your default browser .
That's it !
You will see as like the below picture when you type the username and password.
You will see the script in your browser like this ! |
No comments:
Post a Comment