But the output i wanted is the page to be in blue color and some text displaying on it BUT not the code of the HTML.So you viewed the resulting file in a browser and you're seeing the raw HTML rather than a rendered page? Might be an issue with your content-type line. Try:
Note that the CGI module can handle these headers for you and then you don't need to worry about it:print "Content-type: text/html \n\n";
use CGI qw/:standard/; print header;
In reply to Re^3: Creating HTML page
by cbrandtbuffalo
in thread Creating HTML page
by ganilmohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |