The purpose of the P element is to define a paragraph. The exact
indentation, leading space, etc. of a paragraph is not specified and may
be a function of other tags, style sheets, etc. Paragraphs are typically
surrounded by a vertical space of one line or a half line. Additionally,
the first line in the paragraph may be indented in some cases.
Description:
This indicates the alignment of the Paragraph text in the browser window.
Values:Left
[DEFAULT] | Center |
Right | Justify
Clear
2 | 3
| 3.2 | 4
| IE | M
| N | O2.1
Required? No
Description:
This attribute helps an author in situations with floating objects (images,
tables, etc.) produced through the Left and
Right ALIGN attributes. It allows content to stop being
flowed around the floated element.
Values: None
[DEFAULT - No special line breaking
effects are applied relative to the floating element.] Left [breaks line after this element
and moves down vertically until the right margin is clear of floated
objects.] Right [breaks line after this element
and moves down vertically until the right margin is clear of floated
objects.] All [breaks line after this element
and moves down vertically until both margins are clear of floated objects.]
Very early versions of HTML (before 2.0) did not specify P as a
container element, and some early browsers may become confused when
seeing the </p> tag.
Netscape versions 1.0-1.22 only understood ALIGN values of LEFT and CENTER.
Support for ALIGN=RIGHT began in version 2.0.
The 'justify' value of the ALIGN attribute is currently only supported in
the 4.0 Beta 2 and above versions of Netscape and Internet Explorer.