This information is transmitted to the server when the form is submitted. TYPE defines one of the various types of input fields which are recognized in the HTML specification. The TEXT input type allows the user to enter or edit a single line of text in that field.
NAME labels the data provided in that field.
The program which processes the form references to the data's name to determine what it is to do with that data. Let's say that the field SIZE is 50. This means that the user can type up to 50 characters which can be viewed in the field at one time. However, the user could still type more than 50 characters in the field and the browser will just scroll the text in the window.