0

no how the password in input type works i need?

13th Jun 2017, 4:15 PM
Prathyusha
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.
13th Jun 2017, 4:32 PM
Limitless
Limitless - avatar
0
DUDE please leave comments and don't create new posts
13th Jun 2017, 4:17 PM
Limitless
Limitless - avatar
0
and what do you mean? Please elaborate on the topic
13th Jun 2017, 4:18 PM
Limitless
Limitless - avatar
0
how it works when we give the input type as password?what is the inner work done?
13th Jun 2017, 4:20 PM
Prathyusha
0
you mean like how it's translating normal text to *** ?
13th Jun 2017, 4:21 PM
Limitless
Limitless - avatar
0
exactly
13th Jun 2017, 4:21 PM
Prathyusha
0
what's the instruction given to it to make the password not to appear?
13th Jun 2017, 4:22 PM
Prathyusha
0
I'm about to write a lot: Prepare yourself
13th Jun 2017, 4:24 PM
Limitless
Limitless - avatar
0
ok
13th Jun 2017, 4:29 PM
Prathyusha
0
Please check this code, it might help you https://code.sololearn.com/WNgqZ5dKsjvt/?ref=app
13th Jun 2017, 4:33 PM
Limitless
Limitless - avatar
0
so it is the interpreter which instructs to make the password invisible. thank you
13th Jun 2017, 4:34 PM
Prathyusha
0
yes, but you need to tell the interpreter that you want it to be a password. Glad I could help
13th Jun 2017, 4:35 PM
Limitless
Limitless - avatar