HTML output

Any other output of your script will be sent back to the web browser just as you specify. Since we're outputting content of the type text/html we should make our scripts output HTML:

print "<h1>Hello, world!</h1>\n";

The above example is already in your cgi-bin directory as hello.cgi.