New in HTML5.

<input placeholder=””>

Attribute of
<input> HTML Tag
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>

This is the mysterious user account for the HTML.com admin.

Browser Support for placeholder

1041013511