Label and placeholder at the same time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Label and placeholder at the same time?

For some time now I have been working on web design and I have achieved this thanks to the large amount of information and also to the support of the sololearn members and other online education sites. My doubt was born a while ago regarding the design of forms, login and registration mainly. Looking at some videotutorials I have noticed that many of the "instructors" use elements, which ... in my personal opinion, are repetitive in the text fields. specifically I mean that in many of these videos, I see that they use a "label" element to identify the field and at the same time they include exactly the same information using "placeholders" which is unnecessary for me. So, I ask in this forum directly to who has more experience in this ... if I use only the placeholder and not both (label and placeholder) would be committing some type of infringement? to put it in some way... I will appreciate your comments

26th Jun 2019, 2:18 AM
Lorenzo Sandoval
Lorenzo Sandoval - avatar
1 Answer
+ 5
I don't think there is anything called "right" or "wrong" in the field of design. For some reminders, labels are always there regardless of what is in the text field. Placeholders are there only when your text field is empty.
26th Jun 2019, 3:27 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar