Assignment 6: Forms
You can use the
size attribute to set the display (in character widths) for the text input box. For example, the “birth year” input is set to only allow 4 characters, so why not limit the size of the box to 4 characters as a visual indicator?
<p> Birth Year: <input type="text" name="name" id="test-date" maxlength="4" size="4" /> </p>
Comments or Concerns: