Lesson 5: HTML Paragraphs

Structuring Text Paragraphs

The <p> tag defines a paragraph of text. Web browsers automatically add vertical margins before and after paragraph elements to separate blocks of text cleanly.

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

Why & How to Use:

Use paragraph tags to group sentences into distinct readable blocks rather than using manual line breaks.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Paragraphs</title>
</head>
<body>
<p>This is the first paragraph with some details about our page.</p>
<p>This is the second paragraph separated by automatic browser margins.</p>
</body>
</html>