Add Placeholder Text to a Text Field


Your placeholder text is what appears in your text input before your user has input anything.

You can create placeholder text like so:

<input type="text" placeholder="this is placeholder text">

Set the placeholder value of your text input to "cat photo URL".