Home of web learners

www.webn3rd.com

There are many tag to show different kind of text in html like p tag is used for show paragraph type text

<p>My text</p>

output:

My text

Here p tag is used for showing paragraph,if you give space there between word or give new line to text its not going to affect.Its shows same

<p>My text</p>

output:

My text

You can use pre tag to show format use in your text,its going to show same

<pre>My text</pre>

output:

          My    text
          

Here you see the text showing the space or new line same used in text

webn3rd.com

About webn3rd