HTML Paragraphs and Line Breaks


Paragraphs are defined with the <p> tag. Browsers automatically add an empty line before and after a paragraph.

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

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.

Line Breaks

Use the <br> tag if you want a line break (a new line) without starting a new paragraph. This element is empty HTML element. It has no end tag.

<p>This is<br>a paragraph<br>with line breaks.</p>


Subscribe for Free Updates

Please enable the javascript to submit this form