The value attribute can be used to “pre-fill” a text box. Unlike placeholder, when you click in the text box, the “pre-filled” text is not replaced. Instead, the user can edit it freely, remove it, or keep it.

  Birth Year:
  <input type="text" name="name" id="test-date" maxlength="4" size="4" value="19" />

Please Enter:

Birth Year:

Net ID:


Comments or Concerns:

NOTE: This can be used to fill in “input” elements with data that would be used “most of the time”.