Skip to content

<p> - Paragraph Element

Block-level HTML 1.0

The <p> element represents a paragraph of text. It’s one of the most fundamental and commonly used HTML elements for structuring text content on web pages.

Result
<p>Your paragraph text goes here.</p>

The <p> element wraps a block of text, creating a paragraph with automatic spacing before and after.

The <p> element supports all global attributes like id, class, style, and lang.

<p id="intro" class="lead-text" style="color: #333;">
Important introductory paragraph.
</p>
Result
Result
Result
Result
Result
Result
Result
Result
<p style="margin-bottom: 2rem;">First paragraph with custom spacing.</p>
<p>Second paragraph.</p>
<div class="container">
<p>This is actual text content.</p>
</div>
<p>This paragraph contains <strong>bold text</strong> and <a href="#">a link</a>.</p>

Screen readers pause between paragraphs, helping users understand content structure:

<p>First thought or idea.</p>
<p>Second, separate thought or idea.</p>

Keep line length between 50-75 characters for optimal readability:

Result

Adequate line height improves readability, especially for users with dyslexia:

Result

Search engines analyze paragraph content:

<!-- Good: Descriptive, valuable content -->
<p>HTML paragraphs structure text content on web pages. Using proper paragraph elements helps both users and search engines understand your content organization.</p>
<!-- Avoid: Thin, keyword-stuffed content -->
<p>HTML paragraph. Paragraph HTML. Learn HTML paragraphs. HTML p tag.</p>

The first paragraph often carries extra SEO weight:

Result

Use <p> for actual paragraphs of text:

<p>The web is built on three core technologies: HTML for structure, CSS for presentation, and JavaScript for interactivity.</p>
<p>Each technology serves a distinct purpose, but they work together to create modern web experiences.</p>
<address>
123 Main Street<br>
City, State 12345
</address>
Result
Result
Result
BrowserVersionNotes
Chrome1+Full support
Firefox1+Full support
Safari1+Full support
Edge12+Full support
IE3+Full support

The <p> element has been supported since the earliest browsers.