In class exercises  BIOS 546

 

1. Create a simple image file that contains a circle, a rectangle, and a hexagon.  Put in on an HTML page as a client-side image map, with HTML return pages that say "This is a circle", etc.

 

 

2. Link the image map to a CGI program that gets passed the shape and the coordinates of the object being clicked, and returns an HTML page giving its perimeter.