HTML: Paragraph


As discussed earlier, HTML will treat all text as one paragraph unless paragraph markers are added around each physical paragraph. Paragraph markers will instruct the viewer to produce one blank line before displaying the text of the next paragraph.

The following codes are used for paragraph markers:

this marker should be typed at the beginning of every paragraph
this marker should be typed at the end of every paragraph

However, on some occasions, for example in tables, a paragraph marker is too crude, producing too much “white” space between the lines. To this end a line break marker (<br>)should be used. This instructs the viewer to place the following text on to the next line.

<p> and </p>
Should appear around normal paragraphs.
<br />
Should appear at the end of lines that should be broken.


You cannot be sure how HTML will be displayed.Large or small screens, and resized windows will create different results.With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.

The browser will remove any extra spaces and extra lines when the page is displayed:


This paragraph
contains a lot of lines
in the source code,
but the browser
ignores it.

This paragraph
contains         a lot of spaces
in the source         code,
but the        browser
ignores it.


This is sample paragraph used with <p> tag.The tutorialsstudio is large tutorials and educational website visit

Paragraphs are defined with the <p> tag.think of a paragraph as a block of is used to keep some specific paragraph or related in one section of a document.<p> tag tag is paired tag and it sets the paragraph always with new line.


<p>This is sample paragraph used with <p> tag.</p>
   The Veewom is largest tutorials and educational website on the internet, for more details visit

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Back to top button
Join Tizen Group