
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <OPTION>
| Next Tag: <PARAM>
|
<P>
Starts a new paragraph.
Support:
-
Notes:
- Although recommended by some, you don't need to use the </P> end tag because the beginning of the next paragraph automatically implies the end of the current paragraph.
Attributes:
- ALIGN
= "Text"
The horizontal alignment of text within the paragraph.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
3.0 and later |
1.0 and later |
1.1 and later |
Notes:
-
Possible values: LEFT, CENTER, RIGHT, JUSTIFY (Internet Explorer only).
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
4.0 and later |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
Example:
This is the first paragraph.<P ALIGN="RIGHT">This is the second paragraph.
How It Looks:
- This is the first paragraph.
This is the second paragraph.
| Index
| Previous Tag: <OPTION>
| Next Tag: <PARAM>
|
|