Content · Web Development · HTML

HTML <p> Element: Paragraphs and Readable Text

A p element marks a paragraph: one complete thought or short group of related sentences. Use a new p when you move to another thought.

1 views Published Oct 19, 2026 Updated Oct 19, 2026 Admin

A p element marks a paragraph: one complete thought or short group of related sentences. Use a new p when you move to another thought.

What You Need to Know


The browser adds typical spacing around paragraphs, but that is CSS presentation; the real purpose is meaningful grouping.

The goal is not to collect as many tags as possible. Pick the element that best describes what the content really is.

Example: See It in Action


Here is a simple example to experiment with. Type it, save the file, and check what the browser displays.

This is a short HTML fragment. To try it as a webpage, put it inside the body element of a complete HTML document.

<h2>Our trip</h2>
<p>We went hiking early in the morning.</p>
<p>The weather stayed cool and sunny.</p>

Let’s Understand the Example


  • A p groups a paragraph of related text. Start another paragraph for a new thought.
  • An h2 starts a major section beneath the page topic.

You should see a readable heading and its related content. The heading level tells readers how the ideas fit together, not merely how large the letters look.

What Should You See?


The page should display “Our trip” as a heading, followed by its related content. Change the heading text and refresh the browser to see the result.

Read only the headings, from top to bottom. Do they tell a sensible story? If not, move sections or choose levels that match the content.

Try It Yourself


  1. Split a long paragraph into two clear ideas.
  2. Save your changes, open or refresh the page, and compare the result with the original example.
  3. Tell a friend what your change did. If you are not sure, undo it, refresh the page, and compare.

Common Beginner Mistakes


  • Adding br after every sentence instead of using real paragraphs.
  • Avoid picking tags just for their default bold, italic or spaced appearance. Use CSS for presentation.

Key Takeaways


  • A p element marks a paragraph: one complete thought or short group of related sentences.
  • A p groups a paragraph of related text. Start another paragraph for a new thought.
  • The browser adds typical spacing around paragraphs, but that is CSS presentation; the real purpose is meaningful grouping.
Share this resourceSend this page to someone who may find it useful.