
Opening tag : <P>
Closing tag: </P>
Purpose:
The P tag is fundamental tag, designed to place paragraphs on your webpage.
Attributes:
Align=alignment
- Specifies where to align the paragraph, choices are LEFT, CENTER and RIGHT.
Class=class
- Specifies a class from a stylesheet to define the formatting of the paragraph.
Dir=direction
- Useful for languages which should be read from right to left.
Event=Javascript
- Allows some javascript to be associated with a paragraph.
ID=name
- Allows an Identifier to be given to a paragraph so its style can be affected dynamically.
Lang=language
- Specifies the language of the text between the paragraph tags.
Style=style
- Specifies a style to be used to format the text in the paragraph, overriding other style formating.
Title=title
- A title can also be set for the paragraph, although there is little use for this attribute.
Example:
<P>This is a paragraph of text</P>
Related Tags:
<B></B> - Bold Tag.
<Basefont></Basefont> - Basefont Tag.
<Big></Big> - Big Tag.
<Blink></Blink> - Blink Tag.
<Blockquote></Blockquote> - Blockquote Tag.
<BR> - Break Tag.
<Center></Center> - Center Tag.
<Cite></Cite> - Cite Tag.
<Code></Code> - Code Tag.
<EM></EM> - Emphasis Tag.
<FONT></FONT> - Font Tag.
<H1></H1> - Header Tags (1-6).
<I></I> - Italic Tag.
Back to:
Alphabetical Guide
Guide By Type