HTML paragraph

paragraphs in Html can be defined by <p> </p> tags.

Example :


  <p>This is a paragraph.</p>
  <p>This is another paragraph.
	extra    l   i  n  e</p>

Output:

This is a paragraph.

This is another paragraph. extra l i n e

HTML Paragraph Spaces and Breakline <br>


As you can see, in html paragraphs remove any extra space or new line automatically.
If you want to start a text in new line or a line space in a paragraph,you can use <br> tag to break line.

Example :

  <p>This is a paragraph.</p>
  <p>This is another paragraph.<br>
	<br>
	extra line</p>
                    

Output

This is a paragraph.

This is another paragraph.

extra line

<pre> Tag


If you want to keep extra spaces in a line, or if you are not interested to break each line with a sepeperate instruction, You can use <pre> </pre> tags.
Any text between this tags display in browser as it is


	<pre>
             This is a paragraph.
             This is another paragraph.

			 extra    l   i  n  e
	</pre>
                    

Output

            This is a paragraph.
            This is another paragraph.

     extra    l   i  n  e