from script as wellwhen this file is accessedall the text between its and tags generates the input fields and submit button shown in figure - figure - simple form page generated by tutor html more on form tags we won' go into all the details behind coding html formsbut few highlights are worth underscoring the following occurs within form' html codeform handler action the form' action option gives the url of cgi script that will be invoked to process submitted form data this is the link from form to its handler program-in this casea program called tutor py in the cgi-bin subdirectory of the locally running server' working directory the action option is the equivalent of command options in tkinter buttons--it' where callback handler (herea remote handler scriptis registered to the browser and server input fields input controls are specified with nested tags in this exampleinput tags have two key options the type option accepts values such as text for text fields and submit for submit button (which sends data to the server and is labeled "submit queryby defaultthe name option is the hook used to identify the entered value by keyonce all the form data reaches the server for instancethe server-side cgi script we'll see in moment uses the string user as key to get the data typed into this form' text field as we'll see in later examplesother input tag options can specify initial values (value= )display-only mode (readonly)and so on as we'll also see laterother server-side scripting