W3 3.2y
4.0y
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y

<P>...[</P>]

Description

This indicates a paragraph in the document. It is a container but most browsers allow you to omit the closing element, and assume a closing element when a new opening element is encountered.

DTD

<!ELEMENT P - O (%inline;)*            -- paragraph -->
<!ATTLIST P
  %attrs;                              -- %coreattrs, %i18n, %events --
  >
from the HTML 4.0 DTD, "Copyright © W3C, (MIT, INRIA, Keio). All Rights Reserved."

Attributes

Core attributes: class id style title
Internationalization attributes: dir lang
Events: onclick ondblclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup

W3 3.2y
4.0d
NS 3.0y
4.0y
IE 3.0y
4.0y
TV 1.2y
2.1y
ALIGN
This attribute determines where you want the paragraph to be placed on the document. Valid values are CENTER, LEFT and RIGHT. The default alignment is LEFT.

Examples

Source
<P align="right">
Here we have a paragraph<BR>
placed on the right side<BR>
of the page.
 
Result

Here we have a paragraph
placed on the right side
of the page.

Statistics