Paragraph in HTML is define by <p> element.
<p> tag have both opening and closing tag. So anything mentioned within <p> and </p> is treated as a paragraph.
It is a notable point that a browser itself adds an empty line before and after a paragraph.
An HTML <p> tag indicates starting of new paragraph.
You can change the margins of paragraph using CSS margin property.
Line Break of HTML Paragraph:
In HTML <br> element produces a line break in text. It helps in writing a poem or an address, where the division of lines is important.
The text after the <br> tag begins again at the start of the next line.
<br> tag has no end tag.
Space inside HTML Paragraph
If you add lots of spaces inside the HTML <p> tag then the browser removes extra spaces and extra lines at the time of displaying page. It counts the number of spaces and lines as a single one.
To solve this problem you can use HTML <pre> element.
HTML <pre> Element:
The HTML <pre> element represents preformatted text which is to be presented exactly as written in the HTML file. Whitespace inside this element is displayed as written.