The "text" values of the attribute TYPE identify this as a single line text input field that will display 40 characters. The NAME attribute of the INPUT tag designates the variable name that will be used in the data structure sent to the query program. This NAME is used to identify the value of the user's response from the INPUT tag.
The INPUT tag can be used to create many different kinds of user interface features. This is an INPUT "checkbox" example used to ask the user to fill in any number of responses:
The <SUBMIT> This is also one of the elements of the INPUT. This element will allow the user to click and send the form to the URL that specified in the <FORM>. The structure of this tag will look like: <INPUT TYPE="Submit" NAME="Submit" VALUE="Sent Form"> The value, "Sent Form", that you see in the tag will appear on the face of the button. Therefore, there is no need to type in any word after the tag.
The <RESET> The tag is opposite the SUBMIT> tag as it will clear all the input entered by the user. The value ="Clear Form", also will appear on the face of the button. The structure of this tag is: <INPUT TYPE="Reset" NAME="reset" VALUE="Clear Form">