Paragraph Tag

The <p> element defines a paragraph of text. Browsers automatically add space above and below each paragraph to separate it from surrounding content.

Web

Paragraphs are block-level, so each one starts on a new line. They are the standard way to mark up ordinary blocks of running text.

You cannot nest a <p> inside another <p>; browsers will automatically close the first one if you try.

Examples

HTML

<p>First paragraph.</p>
<p>Second paragraph.</p>

Output:

Renders two paragraphs stacked vertically with space between them.

Learn it in a lesson

See also

Back to the Dictionary