Is there a way to preserve white spaces ( blanks, tabs etc.) in HTML.
I am using print statement in Perl to read lines from a file and print them as follows :
while ( <INP_FILE> ) {
chomp;
printf "\n$_ \n";
printf "<br>";
}
But when the page is rendered, multiple blanks are replaced by a single blank, tab is replaced by blank etc.
abhay
I am using print statement in Perl to read lines from a file and print them as follows :
while ( <INP_FILE> ) {
chomp;
printf "\n$_ \n";
printf "<br>";
}
But when the page is rendered, multiple blanks are replaced by a single blank, tab is replaced by blank etc.
abhay