In HTML <input> tag

type properties

  type = "text" is defined single-line text input box

  type = "password" to define a password input box

  type = "radio" is defined radio button

  type = "checkbox" check box is defined

  type = "file" is defined to upload files

  type = "reset" button to reset the definition

  type = "button" to define a common button

  type = "image" is defined as a picture submit button, with the src attribute definition picture address

  type = "hidden" defines a hidden form fields, used to store the value of

The value attribute defined in the form element

The name attribute defines the name of the form element, this name is the key for the submission of data

Guess you like

Origin www.cnblogs.com/xiaowenwen/p/11328710.html