More Form Info Tables

Form Input Element Attributes

HTML5 Input Element Attribute General Purpose Description
autocomplete Form completion Enables the <input> field to suggest and automatically complete input as the user enters it based on input the user has previously entered.
autofocus Form completion Applies focus on the <input> field when the page loads.
form Data submission
  • Specifies the form(s) on the page in which the <input> element appears by binding the input field to the form
  • Value is the <form> element's id attribute
formation Data submission
  • Specifies where to send user input when the form is submitted
  • Value is a URL
  • Overrides the <form> element's action attribute