Main Index |
Top Of Tree |
Tag Index |
Tag History
- What is it?
- The purpose of the P tag 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.
Typically, paragraphs are surrounded by a vertical space of one line or a
half line. Also, the first line in the paragraph may be indented in
some cases.
- Attributes
- Align
- 2 | 3
| 3.2 | IE1
| M2B4 | N1
- Required? No
- Description:
This indicates the alignment of the Paragraph text in the browser window.
- Values: Left
[DEFAULT] | Center |
Right | Justify
Style Sheet Attributes
[More on Cascading Style Sheets]
- Class
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This represents an assigned semantic classification grouping(s) for the
current tag.
- Values:
Given as a comma separated list of alphanumeric characters. Class names
may contain spaces (multiple consecutive spaces treated as a single
space.)
- ID
- 2 | 3
| 3.2 | IE3B1
| M | N4B2
- Required? No
- Description:
This assigns an alpha-numeric identifier that is unique
to this tag instance. Style sheets may use this attribute to reference
the current instance of this tag. Hyperlinks may also use this identifier
to serve as a destination.
- Values:
An alphanumeric string - initial character must be a letter followed
by alphabetic characters, digits, "-" or "."
characters. The allowable set of alpha-characters is restricted to the
A-Z and a-z set.
- Style
- 2 | 3
| 3.2 | IE3B1
| M | N4B3
- Required? No
- Description:
This attribute is a text string that provides rendering style
information for the current tag.
- Values:
Please see the description of
inline styles for more
information on how to use this attribute and its
possible values.
- Example
- <p ALIGN="right">text</p>
- Parent Model
- %Block Format
Parent% |
%Multimedia
Parent% |
<Body> |
<Basefont>
- Content Model
- %Text% |
%Anchors% |
%Virtual Formatting% |
%Physical Formatting% |
%Line Break Content% |
%Multimedia Content%
Tips & Tricks
Browser Peculiarities
- Very early versions of HTML (before 2.0) did not specify P as a
container tag, and some early browsers may become confused when
seeing the </p> tag.
- The 'justify' value of the ALIGN attribute is currently only supported in
Netscape, versions 4.0 Beta 2 and above.
Boring Copyright Stuff...