cat << +END+ > head A introduction to HTML and CGI scripts on the WWW +END+ cat << +END+ > tail


The material in these WWW page(s) is © M.A.Smith February 1996
(C) Last modified 14 February 1996
Comments, suggestions, etc. M.A.Smith@brighton.ac.uk
+END+ cat head > fr-txt1.htm cat << +END+ >> fr-txt1.htm

Example web page Number 1

This is a normal web page which contains all the normal HTML formatting tags.

Language Encapsulation
Ada 95 Using Class
C++ Package
+END+ cat tail >> fr-txt1.htm cat head > fr-txt2.htm cat << +END+ >> fr-txt2.htm

Example web page Number 2

This is a normal web page which contains all the normal HTML formatting tags.

Even a link to a page which contains frames.

Inserted image HTML markup required
masjpeg
 <IMG SRC="mas_fn50.jpg"
      ALT="mas" ALIGN=TOP>jpeg
 

Try it

Right mouse click in frame to select a pop up menu, which will allow you to navigate back and forth between the selected URL's in the frame. +END+ cat tail >> fr-txt2.htm cat head > fr-txt3.htm cat << +END+ >> fr-txt3.htm

Example web page Number 3

This is a normal web page which contains all the normal HTML formatting tags.

Even a link to a page which contains frames.

A form to request the user to enter text which is to be sent to the CGI script mas_form is shown below. This is introduced by the <INPUT> tag.

Generated form HTML markup required

 <FORM ACTION="http://host/cgi-bin/mas_form">
 <INPUT TYPE="text" NAME="name"
        SIZE=20 VALUE="Your name">
 </FORM>
 

Right mouse click in frame to select a pop up menu, which will allow you to navigate back and forth between the selected URL's in the frame. +END+ cat tail >> fr-txt3.htm rm fr-txt11.htm cat head > fr-txt11.htm cat << +END+ >> fr-txt11.htm

Example web page targeting

+END+ cat tail >> fr-txt11.htm rm fr-txt12.htm cat head > fr-txt12.htm cat << +END+ >> fr-txt12.htm

The target

+END+ cat tail >> fr-txt12.htm rm fr-txt21.htm cat head > fr-txt21.htm cat << +END+ >> fr-txt21.htm

Display A

A is the first letter of the alphabet. +END+ cat tail >> fr-txt21.htm rm fr-txt22.htm cat head > fr-txt22.htm cat << +END+ >> fr-txt22.htm

Display B

B is the second letter of the alphabet. +END+ cat tail >> fr-txt22.htm rm fr-txt23.htm cat head > fr-txt23.htm cat << +END+ >> fr-txt23.htm

Display C

C is the third letter of the alphabet. However to many computer scientists it the name of that magical language. +END+ cat tail >> fr-txt23.htm cat << +END+ > fr-ex1.htm Page with frames Sorry no frames in your browser +END+ cat << +END+ > fr-ex2.htm Page with frames Sorry no frames in your browser +END+ cat << +END+ > fr-ex3.htm Page with frames Sorry no frames in your browser +END+ cat << +END+ > fr-ex4.htm Page with frames Sorry no frames in your browser +END+ cat << +END+ > fr-ex10.htm Page with targeting Sorry no frames in your browser +END+ rm -f head tail