HTML and CSS Reference
In-Depth Information
Name
p
Synopsis
<p> . . . </p>
Denotes a paragraph. Paragraphs may contain text and inline elements, but they may not con-
tain other block elements, including other paragraphs. Browsers are instructed to ignore mul-
tiple empty
p
elements.
Usage
Categories:
Flow content, palpable content
Permitted contexts:
Where flow content is expected
Permitted content:
Phrasing content
Start/end tags:
Required/Optional (XHTML: Required/Required)
Attributes
HTML5 Global Attributes
Example
<p>
Paragraphs are the most rudimentary elements of a text
document.
</p>
<p>
They are indicated by the <code>p</code> element.
</p>