This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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