Page 48 - LoudOffice_Guide-to-HTML_Part-II_Advanced.PDF
P. 48

< h e a d >
                  < t i t l e > O n l i n e  M o r t g a g e  C a c l u l a t o r < / t i t l e >
               < / h e a d >
               < f r a m e s e t  c o l s = ” 1 5 0 , * ” >
                  < f r a m e  s r c = ” n a v . h t m ”  n a m e = ” n a v ”  n o r e s i z e  s c r o l l i n g = ” n o ”
                    f r a m e b o r d e r = ” 0 ” >
                  < f r a m e  s r c = ” . . / c g i - b i n / g u e s t b o o k . c g i ”  n a m e = ” m a i n ”  n o r e s i z e
               f r a m e b o r d e r = ” 0 ” >
                  < n o f r a m e s >
                     < b o d y >
                      < h 1 > O n l i n e  M o r t g a g e  C a l c u l a t o r < h 1 >
                      < p > W e l c o m e  t o  o u r  G u e s t b o o k .  T h i s  m e n u  n o r m a l l y  u s e s  f r a m e s
                           h o w e v e r ,  y o u r  b r o w s e r  d o e s  n o t  s u p p o r t  t h e m .  I n  o r d e r  t o
                           s e e  o u r  g u e s t b o o k ,  p l e a s e  < a  h r e f = ” . . / c g i -
                           b i n / g u e s t b o o k . c g i ” > C l i c k  H e r e < / a > . < / p >
                     < / b o d y >
                  < / n o f r a m e s >
               < / f r a m e s e t >
               < / h t m l >





               Accessing CGI Via a Form
               If your CGI script requires that you receive input from a website visitor and then post the
               information to the CGI script, then you will need to use a standard CGI form as described
               above.    The difference is that the a c t i o n  of your form will be the CGI script being
               referenced.

               For example, if you wanted to target the guestbook given above, your HTML form may look
               something like this:



























               This simple form is created using standard HTML elements.        The only area of note is the
               < f o r m >  tag itself, which contains the following HTML Markup:
                         < f o r m  m e t h o d = " P O S T "  a c t i o n = " . . / c g i - b i n / g u e s t b o o k . c g i " >



               LoudOffice.com Guide to HTML – Part II                                               Page 48
   43   44   45   46   47   48   49   50   51   52