0
no how the password in input type works i need?
12 Antworten
+ 1
HTML is a type of markup language, that means it is a language that uses tags to create a layout or share information. The "type='Password'" is called an attribute.
The interpreter that is reading the text is reading the code that you wrote and creating a layout on a window.
In this interpreter they can say what this window should do. When the user type a key-input the input runs through the program and then is displayed onto the form. In this case type="Password" tells the program to set all output characters to * but still keep it's value with it, incase the user wants to copy, change or add to it.
0
DUDE please leave comments and don't create new posts
0
and what do you mean? Please elaborate on the topic
0
how it works when we give the input type as password?what is the inner work done?
0
you mean like how it's translating normal text to *** ?
0
exactly
0
what's the instruction given to it to make the password not to appear?
0
I'm about to write a lot: Prepare yourself
0
ok
0
Please check this code, it might help you
https://code.sololearn.com/WNgqZ5dKsjvt/?ref=app
0
so it is the interpreter which instructs to make the password invisible. thank you
0
yes, but you need to tell the interpreter that you want it to be a password.
Glad I could help