Why do we use placeholder in HTML?
Definition and Usage
The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format). The short hint is displayed in the input field before the user enters a value.
What can I use instead of a placeholder?
The p element placed between the label and input elements acts as a replacement for a placeholder attribute.