I cannot understand what is <input type = " password"> what is mean by type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I cannot understand what is <input type = " password"> what is mean by type

About the type attribute

13th Sep 2021, 3:25 PM
Yogesh Waran
Yogesh Waran - avatar
16 Answers
+ 1
Type specifies the What what is the user going to input or select like (plain text ,number , symbol in the form by typing or clicking in buttons
14th Sep 2021, 11:09 PM
Ghion Demelash
Ghion Demelash - avatar
+ 3
Yogesh Waran "password" type is like "text" but it will show star (*) instead of what you have typed. For example if you entered 12345 then you will see *****. If you want to see what you have typed then open "inspect element" of browser and change type = "password" to type = "text" now it will show you what you have written. This trick can also be used to hack someone password. For example if someone by mistake saved password in browser and you want to see what he/she has entered in password then you can see using this trick.
13th Sep 2021, 3:47 PM
A͢J
A͢J - avatar
+ 1
Yogesh Waran Password is nothing but it's a actually text it can be anything like number with character, numbers only, characters only, it can be anything when you enter in password field it will show you star (*) instead of actual text. The main purpose of this is to keep you safe, for example suppose you are at public place and you are entering something in normal text field then people can easily see what you have typed but when you enter anything in password text field then no one can see what you have typed because of start (*).
14th Sep 2021, 4:08 AM
A͢J
A͢J - avatar
+ 1
The Password type is used to basically hide the a users password from those around while typing. So its actually substitutes the password text with a dot🤝
15th Sep 2021, 12:02 AM
Bentil Shadrack
Bentil Shadrack - avatar
+ 1
You are requesting the user to INPUT an information and the TYPE of information should be a PASSWORD
15th Sep 2021, 4:13 AM
John E Bahago
John E Bahago - avatar
+ 1
Type determines the type of information being typed into the form. The type password is going to make every input appear as *(asterik). While other types would make the input visible
15th Sep 2021, 1:43 PM
Nasredeen Abdulhaleem
Nasredeen Abdulhaleem - avatar
+ 1
John E Bahago hi bro, INPUT an information means what brother Like i request the user to provide the information to me ,,is it right bro
18th Sep 2021, 7:52 AM
Yogesh Waran
Yogesh Waran - avatar
0
Hi Yogesh Waran Type means to specify the type of input box,radio,password you want in html See this Happy Coding! https://www.w3schools.com/html/html_form_input_types.asp
13th Sep 2021, 3:30 PM
<★Shaurya Chauhan★>(ACTIVE AGAIN✌😇🙃)
<★Shaurya Chauhan★>(ACTIVE AGAIN✌😇🙃) - avatar
0
Try it. By adding “password” the textbox does not show what the letters you are typing are. It just shows dots (•) https://code.sololearn.com/WD0g3GtG86pT/?ref=app
13th Sep 2021, 3:31 PM
Brain & Bones
Brain & Bones - avatar
0
SAN I think we both posted same link at same time , what a coincidence 🤔
13th Sep 2021, 3:32 PM
<★Shaurya Chauhan★>(ACTIVE AGAIN✌😇🙃)
<★Shaurya Chauhan★>(ACTIVE AGAIN✌😇🙃) - avatar
0
Thanks for your responses
13th Sep 2021, 5:11 PM
Yogesh Waran
Yogesh Waran - avatar
0
I thought <input type = "text"> Because the username should be in alphabetical so that we tell them it is a text My doubt is what is that password means while it is a alphabet or numerical
14th Sep 2021, 3:35 AM
Yogesh Waran
Yogesh Waran - avatar
0
Thanks brother I have a doubt regarding html I am a job seeker, as of now I learning so far intermediate level in HTML , How can I get a part time job in html code Like for 3000 or 4000 per month
14th Sep 2021, 6:40 AM
Yogesh Waran
Yogesh Waran - avatar
0
That's a saved type in html thet means the input wold have password things like * instead of letters or numbers
14th Sep 2021, 4:08 PM
yoel
18th Sep 2021, 9:12 AM
John E Bahago
John E Bahago - avatar