HTML Paragraphs

HTML paragraph tags are used to define the text paragraphs.

When we create any document, we divide text content into multiple paragraphs. Similarly, HTML documents can be divided into HTML paragraphs.

HTML <p> the tag defines a paragraph. This Paragraph tag automatically adds some margin (white space) before and after a paragraph.

Simple Example:

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

HTML Paragraphs – Complete HTML Program Example

You can use multiple paragraphs in a HTML program. Following example consist of three <p> tags.

<head>  </head>

<p>This is a first paragraph. You can add any kind of text here. </p>
<p>This is a second paragraph. This is some sample text. </p>
<p>This is another paragraph. You can add multiple lines of text in this paragraph. </p>


Congratulations! Chapter Finished. Learn more about the similar topics:
Exercises & Assignments
Program to see difference between paragraphs & normal text with line break
Interview Questions & Answers
No Content Found.