HTML Paragraphs

Working with Paragraphs

The <p> tag defines a paragraph. Browsers automatically add space before and after paragraphs.

You can use
for line breaks within paragraphs and


for horizontal rules (thematic breaks).

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

<p>Line breaks work like this:<br>
New line without new paragraph.</p>

<hr>
<p>Content after horizontal rule.</p>

Try Paragraphs

<h2>About HTML</h2>
<p>HTML is the standard markup language for creating web pages.</p>
<p>With HTML you can create your own website.</p>
<hr>
<p>HTML is easy to learn - You will enjoy it!</p>

Note: Browsers ignore extra spaces and line breaks in HTML. Use
for intentional line breaks.