Previous Slide


Name/Value Pairs

Next Slide

THE INFORMATION SENT WHEN A FORM IS SUBMITTED ASSOCIATES VALUES WITH THE "NAMES" OF ELEMENTS.

  • THE ONLY NAMED ELEMENT IN MY STOCK QUOTE FORM IS "symbols".
    <INPUT TYPE="text" NAME="symbols" 
        SIZE="20" MAXLENGTH="128">
    

  • BY CHANGING THE "FORM" TAG TO SEND THE INFOMATION TO MY OWN CGI PROGRAM WE CAN SEE THESE ASSOCIATIONS.
    <FORM action="http://www.cs.williams.edu/cgi-bin/query">
    



The Web:
Technologies and
Techniques


Links to other course pages:


Williams College
Department of Computer Science
This page is part of a section of lecture slides related to " HTML Forms " within the topic "CGI and HTML Forms". Other slides within this section and other sections of slides for the topic "CGI and HTML Forms" can be accessed using the links below.
  • Common Gateway Interface
  • CGI == Common Gateway Interface
  • HTML Forms
  • Forms
  • Forms (cont.)
  • FORM ACTION ATTRIBUTE
  • Form Input Elements
  • The Submit Button
  • Text Input Fields
  • Name/Value Pairs
  • Checkboxes
  • Radio Buttons
  • Other "INPUT" Elements
  • The "TEXTAREA" Tag
  • Selection Lists
  • Selection Lists (cont.)