Level: 0
The paragraph (<p>
) element represents a paragraph. The exact
rendering of this (indentation, leading, etc) is not defined and
may be a function of other tags, style sheets etc.
<p>
to put white space
around heading, list, address or blockquote
elements. It is the responsibility of the
rendering software to generate that white
space. Do not use empty paragraphs.
Typically, paragraphs are surrounded by a small vertical space
(of a line or half a line). This is not the case (typically) within
address
or (ever) within
pre
elements. With some implementations,
normal paragraphs may have a small extra left indent on the
first line.
Example:
<h1>This Heading Precedes the Paragraph</h1>
<p>This is the text of the first paragraph.
<p>This is the text of the second paragraph. Although you
do not need to start paragraphs on new lines, maintaining
this convention facilitates document maintenance.
<p>This is the text of a third paragraph.