In CGI script, on the top the program we use the:
print "Content-type: text/html\n\n";
Content-type: text/html is the HTTP header, not HTML. For detecting the end of HTTP header must be one empty line. First
\n for end of current line, second
\n for new empty line.