<p>

The paragraph element represents a block of running text.

Since HTML 2.0 Spec ↗

Syntax

<p>...</p>

Examples

<p>This is the first paragraph.</p>
<p>This is a second, separate paragraph.</p>
Output
Renders two blocks of text separated by the browser default top and bottom margin.

Notes

Paragraphs cannot contain block-level elements such as <div> or another <p>; an unclosed <p> is auto-closed by the parser when a block element follows.

Browser & runtime support

EnvironmentSince version
chrome 1.0
firefox 1.0
safari 1.0
edge 12

See also