MasterOnce
HTML

Paragraphs

Paragraphs in HTML

What is it?

Paragraphs use the <p> tag to group blocks of text.

Why does it exist?

Paragraphs make text readable by separating ideas.

Examples

Basic

Example 1

<p>Hello, world.</p>

Wrap text in a paragraph tag.

Intermediate

Example 1

<p>First idea.</p>
<p>Second idea.</p>

Use multiple paragraphs for separate thoughts.

Advanced

Example 1

<p>Use <strong>bold</strong> or <em>emphasis</em> inside paragraphs.</p>

Inline tags can be used inside a paragraph.

Common Mistakes

Common mistakes with paragraphs:
1. Putting block elements inside <p>
2. Using <br> to separate paragraphs
3. Forgetting closing </p>

Write it once before proceeding

This helps your brain start forming the pattern.

<p>Hello, world.</p>

Paragraphs are text blocks

Simple Explanation

Paragraphs group sentences that belong together.

Think of it like this

Like lines in a story with spaces between them.

Tiny Example

<p>My first page.</p>

Core Drill: Lock It In

Write the same concept 50 times to make it permanent. Your progress is saved automatically.

Repetitions0 / 50
🔒

Sign In to Unlock

Complete all 50 repetitions and lock this concept in your memory forever.