Home Tutorials HTML Tutorial Paragraphs
Paragraphs

Paragraphs


4. Paragraphs

The <p> element is used to define paragraphs of text. Browsers display paragraphs as block-level content with spacing before and after them.

Syntax

<p>Your paragraph text</p>

Example

<p>HTML is easy to learn.</p>
<p>Practice daily for better understanding.</p>

Output

Two separate paragraphs are shown on the page.
Example

🏋️ Test Yourself With Exercises

Take our quiz on Paragraphs to test your knowledge.

Browse Quizzes »