Skip to main content

Visual guide · Knowledge graph

HTML Paragraphs

The HTML <p> element marks a paragraph of text — the default block for readable body copy on almost every webpage.

Reading ·
12 min
Practice ·
15 min
Level ·
Beginner

Completion goal: Split body copy into clear <p> blocks instead of <br><br> hacks.

  • p tag
  • blocks
  • whitespace
  • readability

Learning path

HTML Beginner Path

  1. Paragraphs

Skills you'll learn

  • Semantic HTML
  • Readable Content
  • Block Elements

Quick answers

What is this?

The HTML <p> element marks a paragraph of text — the default block for readable body copy on almost every webpage.

Why use it?

Paragraphs are the default unit of readable prose on the web.

When should you use it?

Whenever you write body text under headings.

Advantages

  • Natural spacing
  • Better mobile scanning

Watch-outs

  • Empty paragraphs for spacing are an anti-pattern

Learning objectives

  • Wrap body text in <p> elements
  • Separate ideas into multiple paragraphs
  • Avoid using <br> as a substitute for structure
  • Combine paragraphs with headings for readable pages

Visual diagram

Each <p> is a block of text with space above and below — natural reading rhythm.

Visual memory trick

Each <p> is a brick. Don’t use line-break glue instead of bricks.

Animation preview

Visual concept: paragraphs stack vertically; browsers add default spacing between them.

Interactive animation lives in the classroom — Start Interactive Lesson.

Where you'll use this

  • Blogs

    Articles need clear structure so readers can scan titles and paragraphs.

  • E-commerce

    Product pages rely on headings, copy blocks, and semantic regions.

  • News websites

    Stories are hierarchical: headline, subheads, then body text.

  • Portfolio

    Personal sites showcase sections with headings and short paragraphs.

Real-world use cases

  • Articles and blogs

    Long-form writing is a sequence of paragraphs under headings — the same pattern offline books use.

  • Product descriptions

    Shops use short paragraphs to explain features without dumping one giant wall of text.

  • Form helper text

    Instructions under a form often live in a <p> (or similar) so the hint is structured content.

Code example & output

paragraphs.html
<h1>About this page</h1>
<p>HTML paragraphs keep sentences grouped as readable blocks.</p>
<p>Start a new &lt;p&gt; when you begin a new idea — just like a new paragraph on paper.</p>

Output preview

A heading followed by two spaced paragraphs of text.

Browsers ignore most extra spaces inside the file. Structure comes from tags, not from pressing Enter alone without a <p>.

Try it in the interactive lesson →

Common mistakes

  • Using <br><br> instead of paragraphs

    Avoid: Line1<br><br>Line2 to fake paragraphs.

    Do: Use two <p> elements. Reserve <br> for soft line breaks inside a line of text.

  • Empty paragraphs for spacing

    Avoid: <p></p><p></p> to push content down.

    Do: Use CSS margin/padding for spacing — keep markup meaningful.

  • Giant single paragraph

    Avoid: One <p> with an entire essay.

    Do: Split into shorter paragraphs so people can scan on phones.

Common interview questions

Should you use <br><br> to separate ideas?

No. Use separate <p> elements. Reserve <br> for soft breaks inside a line.

Mini quiz

Check your understanding — no account needed.

  • 1. Body copy should usually live in…

FAQ

Can a paragraph contain a heading?

No. Headings are separate block elements. Put headings outside paragraphs.

What about line breaks inside a poem?

Use <br> for intentional mid-paragraph breaks, or consider <pre>/poetic structures later.

Do paragraphs matter for SEO?

Readable structure helps users stay and understand. Clear copy under good headings supports helpful content quality.

Where this skill is used

  • Frontend Developer

    UI copy still needs correct text elements.

  • Full Stack Developer

    Server-rendered pages use the same paragraph semantics.

Projects using this concept

  • About page

    Heading plus two short paragraphs about you.

    beginner · HTML

  • Product blurb

    Feature explanation split into scannable paragraphs.

    beginner · HTML

Parent: HTML Document Structure

Glossary

Course: HTML Fundamentals · Full glossary · Career path

Start Interactive Lesson

Continue in Avora's visual classroom with synced narration, checks, and playgrounds. Module 1 is free.