<p>...</p>

HTML4 HTML5

A paragraph of text is placed between the opening <p> tag and closing </p> tag[cite: 3].

The opening tag is mandatory while the closing tag is optional (it is recommended to use optional closing tags)[cite: 3]. The opening <p> tag should be treated as a transition tag to a new paragraph[cite: 3].

Example

Code:

<p>First paragraph of text.</p>

<p style="color: blue;">Second paragraph.</p>

<p>Third, final paragraph in this example.</p>

The browser will interpret this code as follows:

First paragraph of text.

Second paragraph.

Third, final paragraph in this example.