Value

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.

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

Please Enter:

Birth Year:

Net ID:

Password:

Comments or Concerns:

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