HTML Haven
  -- Basics
  -- Head/Body
  -- Font
  -- Links
  -- Images
  -- Tables
  -- Forms
  -- Attributes
  -- Wizards



CGI Haven
  -- Basics
  -- Variables
  -- Adding HTML
  -- Sending EMail
  -- Flat-File Databases
  -- Validation
  -- Regular Expressions
  -- Custom Script



JavaScript Haven
  -- Basics
  -- Variables
  -- Arrays
  -- Validation
  -- Functions
  -- Loops
  -- Conditionals
  -- Windows
  -- Events
  -- Forms
  -- Extras



CGI - Adding HTML tutorial by Matt
Adding HTML through CGI is a simple task if you
already know how to program HTML which you should already know.
We will start off with a simple example of a simple HTML document
that prints the words "Hello, World!" to the browser window.

<html> <head> <title>Simple HTML Document</title> </head> <body> <p align="center">Hello, World!</p> </body> </html> Now open notepad and type in the code below:
#!/usr/bin/perl use CGI; $query = new CGI; print $query->header; print "<html>\n<head>\n<title>Simple HTML Document</title>\n"; print "</head>\n<body>\n"; print "<p align=\"center\">Hello, World!</p>\n"; print "</body>\n</html>\n";

Ok now there are only a few things to point out about this script. First of
all you may be wondering what \n means... \n mean NewLine. This will print
then next element that follows to the next line. The only other thing that you
need to notice with this script is that <p align=\"center\"> doesn't look right.
The backslashes are put in there to tell PERL not to read those double quotes as
ending quotes. In a print statement PERL reads from the first double quote to the
next double quote. If you don't backslash it PERL will read it as <p align= which
is not a valid HTML statement.

As you can see printing HTML using CGI is a simple task and shouldn't be hard to learn.

You now have enough knowledge to move onto the next section Sending EMail




Scripting Network
  -- Register
  -- Login
  -- Contact
  -- Web Board
  -- Home



Fredward Inc.
  -- Websites
  -- Programs
  -- Graphics
  -- Order
  -- .::Other::.
  -- Contact
  -- Pricing
  -- Help/FAQ
 >>Official Site