<input placeholder="">
Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
- Attribute of
- How To Use Input To Create Form Fields In HTML: Easy Tutorial
- What does
<input placeholder="">
do? - Specifies placeholder text in a text-based input.
Code Example
<form>
<label for="email">Email Address</label><br>
<input id="email" name="email" type="email" placeholder="[email protected]">
</form>
Browser Support for placeholder
10 | 4 | 10 | 13 | 5 | 11 |