Most content on a simple web page will appear in paragraphs or sections. HTML paragraph <p>
element allow to write text in separate blocks.
We write paragraphs by use of <p>
tag like:
<p>I am a paragraph</p>
Paragraph element content is written between the opening (<) and the closing (/>) tags.
The browser separates paragraphs by space line. Thus, every paragraph starts from a new line. Any text after paragraph end is written on a new line. The space may be different between different browsers. We can change this and other paragraph presentation items with CSS.
The line-break <br>
element can also be used to separate lines like the following:
<p>I am a paragraph with <br>. This text will be written on a new line.</p>
The text after <br> will be written on a new line. However it leaves us inside the same paragraph.
<br> has no closing tag and no content.