A Cool Site for learning different

Sunday, September 08, 2013

HTML Paragraphs

Reference: http://www.w3schools.com/html/html_paragraphs.asp

HTML documents are divided into paragraphs.

HTML Paragraphs

Paragraphs are defined with the <p> tag.


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

Don't Forget the End Tag

Most browsers will display HTML correctly even if you forget the end tag:


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

HTML Line Breaks

Use the <br> tag if you want a line break (a new line) without starting a new paragraph:


<p>This is<br>a para<br>graph with line breaks</p>
The <br> element is an empty HTML element. It has no end tag.