JS

Beginner HTML Topics - html placeholder text input...

12.

What is the correct HTML for adding a placeholder text in a text input field?

<input type="text" value="Enter your name">

<placeholder="Enter your name">Enter your name</placeholder>

<input type="text" text="Enter your name">

<input type="text" placeholder="Enter your name">