VersionW3C//DTD HTML 3.2 Final//EN
ElementP
Purposeparagraph
DescriptionThis element encloses text in a paragraph.
Start tagRequired <P>
Attributes
NameTypeDefaultComment
align( left | center | right )#IMPLIED
Content( #PCDATA | TT | I | B | U | STRIKE | BIG | SMALL | SUB | SUP | EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP | INPUT | SELECT | TEXTAREA )*
End tagOptional </P>
Referenced in ADDRESS BLOCKQUOTE BODY CENTER DD DIR DIV FORM LI MENU TD TH
Example
SourceAppearance
<H2>Paragraphs</H2>

<P>This is a paragraph with its align attribute set at default. This is a paragraph with its align attribute set at default. This is a paragraph with its align attribute set at default. This is a paragraph with its align attribute set at default.

<P align="right">This is right-aligned paragraph. This is right-aligned paragraph. This is right-aligned paragraph. This is right-aligned paragraph.

<P align="center">The paragraph element with its align attribute set to "center" is a substitute for the <a href="center.html">CENTER</a> element. Centered paragraph. Centered paragraph. Centered paragraph. Centered paragraph. Centered paragraph.

Paragraphs

This is a paragraph with its align attribute set at default. This is a paragraph with its align attribute set at default. This is a paragraph with its align attribute set at default. This is a paragraph with its align attribute set at default.

This is right-aligned paragraph. This is right-aligned paragraph. This is right-aligned paragraph. This is right-aligned paragraph.

The paragraph element with its align attribute set to "center" is a substitute for the CENTER element. Centered paragraph. Centered paragraph. Centered paragraph. Centered paragraph. Centered paragraph.

Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.