What is the code for placeholder. When I click on the search box it disappears | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the code for placeholder. When I click on the search box it disappears

19th Oct 2023, 5:08 PM
Haris Ibn Zahid
Haris Ibn Zahid - avatar
5 Answers
+ 4
you can ask questions in your existing thread. this way, everyone can try to help. not need to DM.
19th Oct 2023, 6:11 PM
Lisa
Lisa - avatar
+ 5
Haris Ibn Zahid I read Stack Overflow, and I noticed that some people have had mixed experiences with it. Additionally, there are many solutions available. You can check them out at this link: https://stackoverflow.com/questions/8574356/html5-placeholder-disappears-on-focus.
19th Oct 2023, 6:22 PM
Chris Coder
Chris Coder - avatar
+ 3
could you link the code so we can check on it?
19th Oct 2023, 6:15 PM
Lisa
Lisa - avatar
+ 2
placeholder="a placeholder" A placeholder is supposed to disappear once the user starts entering something. It is only a placeholder, as the name says.
19th Oct 2023, 5:39 PM
Lisa
Lisa - avatar
0
What I wanna understand when I click in the particular search box the place holder must get dissapper without entering text
19th Oct 2023, 6:14 PM
Haris Ibn Zahid
Haris Ibn Zahid - avatar