What does placeholder mean | Sololearn: Learn to code for FREE!


What does placeholder mean

I need a gist on what placeholder is and how it works

2/20/2021 3:18:16 AM

Nana Kay

3 Answers

New Answer


It's gives a clue to the user on what is expected to be filled in the textbox


Nana Kay The placeholder attribute specifies a short hint that describes the expected value of a input field / textarea. The short hint is displayed in the field before the user enters a value.


hi Nana Kay a placeholder is text in the box which often gives the user a prompt like “password” and dissapears when they enter anything see below... https://code.sololearn.com/WqKtaRVblN5D/?ref=app