Placeholder

The placeholder attribute can be used to place grey text in a text field. This text will disappear when the user focuses the element by clicking in it.

This text can be used to offer hints about the type of text that is expected or to encourage the user to type in the field.

HTML
<p>
  Net ID:
  <input type="text" name="name" id="test-text" placeholder="ab123456"/>
</p>

Please Enter:

Birth Year:

Net ID:

Password:

Comments or Concerns:

NOTE: Notice how the text box has grey text (should work in most browsers), and that when you click in there or begin typing it goes away.