in reply to print content in cgi and html

If you want to output a lot of HTML but not use CGI.pm
(which you really should). You can use what is known as a
HERE document.
print <<KEEP_PRINTING_UNTIL_REACHING_THIS_STRING; <TABLE> <TR> <TD> </TD> </TR> <TABLE> KEEP_PRINTING_UNTIL_REACHING_THIS_STRING
Whatever string you use for "KEEP_PRINTING_UNTIL_REACHING_THIS_STRING"
must not appear in the output to be printed

Hope this helps