
Our HTML form is ready to take inputs from users in above example, we now need to create a PHP page to collect data from this form. Specifies the width of an element (only for type="image") Specifies the legal number intervals for an input field Specifies the URL of the image to use as a submit button (only for type="image") Specifies the width, in characters, of an element Specifies that an input field must be filled out before submitting the form Specifies that an input field is read-only Specifies a short hint that describes the expected value of an element Specifies a regular expression that an element's value is checked against Specifies that a user can enter more than one value in an element Specifies the maximum number of characters allowed in an element Specifies the maximum value for an element

Refers to a element that contains pre-defined options for an element Specifies the height of an element (only for type="image") Specifies where to display the response that is received after submitting the form (for type="submit" and type="image") Specifies how the form-data should be encoded when submitting it to the server (for type="submit" and type="image")ĭefines the HTTP method for sending data to the action URL (for type="submit" and type="image")ĭefines that form elements should not be validated when submitted Specifies the URL of the file that will process the input control when the form is submitted (for type="submit" and type="image") Specifies one or more forms the element belongs to Specifies that an element should be disabled

Specifies that an element should be pre-selected when the page loads (for type="checkbox" or type="radio") Specifies that an element should automatically get focus when the page loads

Specifies whether an element should have autocomplete enabled Specifies an alternate text for images (only for type="image") Specifies the alignment of an image input (only for type="image") Specifies the types of files that the server accepts (only for type="file")
