This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

p

Summary

The p (for paragraph) element (<p>) represents a paragraph.

Overview Table

DOM Interface
HTMLParagraphElement

The p element cannot contain block-level elements (including p itself).

Examples

This example uses the p element to create a paragraph.


<p>The quick brown fox jumps over the lazy dog.</p>

Related specifications

HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation

See also

Related articles

Document Structure

HTML

Attributions