<p>This is another paragraph</p>
Don't Forget the End Tag
<p>This is another paragraph
HTML Line Breaks
Even if <br> works in all browsers, writing <br /> instead works better in XHTML and XML applications.
HTML Output - Useful TipsYou 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 extra spaces and extra lines when the page is displayed. Any number of lines count as one line, and any number of spaces count as one space.
Try it yourself
(The example demonstrates some HTML formatting problems)
Examples from this page
How HTML paragraphs are displayed in a browser.
The use of line breaks in an HTML document.
Some problems with HTML formatting.
More ExamplesMore paragraphs
The default behaviors of paragraphs.
HTML Tag ReferenceW3Schools' tag reference contains additional information about HTML elements and their attributes.
|<p>||Defines a paragraph|
|<br />||Inserts a single line break|