When the
type
attribute of the element has the value
"Text", "File" or "Password", this represents the current contents of
the corresponding form control, in an interactive user agent.
When the
type
attribute of the element has the value
"Text", "File" or "Password", this represents the current contents of
the corresponding form control, in an interactive user agent. Changing
this attribute changes the contents of the form control, but does not
change the value of the HTML value attribute of the element. When the
type
attribute of the element has the value "Button",
"Hidden", "Submit", "Reset", "Image", "Checkbox" or "Radio", this
represents the HTML value attribute of the element. See the value
attribute definition in HTML 4.0.