HTML Formatting Code?

  • Thread starter Thread starter dayu4u_dothedew
  • Start date Start date
D

dayu4u_dothedew

Guest
I have been trying to make a web page using simple basic html.
I have a text file from where i want to copy and paste the code as it is displayed in the text file.
When I paste and the code in the text file and view it in the web page in the browser it is displayed in a straight line.....for example...
##################
Text file content :
I love Yahoo
I am a Yahoo Freak
Thanks for your help.

What i see in the web page:
I love YahooI am a Yahoo FreakThanks for your help.

##################

Now I know it requires tags like <br> and <p>. But considering the data I need to display it is not feasible to insert these tags for every new line.
Is there any alternative to these tags ?
Can I simply paste the data and still view it with its original formatting in the web page ?

Please help me out with this, your help is sincerely appreciated.
 
Back
Top