Note that the name attribute specifies the name of the variable that will be passed back to the program at the server. The value attribute specifies a value that will be passed back (for instance yes might be the value of the attribute married).
The checked attribute states which value will be checked off as the default on the form, and size and maxlength state give the length of the field and the maximum number of characters that may be input.
The attributes in [square brackets] are optional.
The names and values of the form elements are passed to the program at the server when the submit button is clicked. That program can do whatever you wish with the form input -- store it in a file or database, compute something based on the values in the form, look up an entry in a database, etc. The program may be written in any language. When it is written in an interpreted language like Perl, VB Script or Java Script, it is often referred to as a "script" rather than a "program." Note that it can be any executable program -- even a DOS bat file.
For tutorial material on forms and several examples, see: http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html.