HTML Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics
 



ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback
 




Html Password Field


Tutorials Html

Topic

I want a field where password will be given, so i want the field values to be hidden?
How to create a password form field in html?



Explanation

Password Field

Example Code:
<form name=testform>
<input type=password>
</form>


Result:

Definition: The password field for a form is create by "input of type password".
The result shows a password field displayed.


Disable Password Field

Code:
<form name=testform>
<input type=password disabled>
</form>


Result:

Definition: The make the password field disabled (not-usable) just add an additional variable "disabled" in the input tag.




Other Links

web hosting