XHTML - <p> </p> Paragraph Tag
Definition
The <p> </p> tag pair defines a paragraph. Most browsers will display a paragraph properly (probably) without the ending </p> tag, but the tag is required for the document to be well formed.
Example
<p>This is the text in the first paragraph</p>
<p>This is the text in the second paragraph</p>
Output
This is the text in the first paragraph
This is the text in the second paragraph
Attributes
The following events may be attached to a paragraph tag:
- align (deprecated)
- id
- title
- class
- style
- dir *
- lang *
- xml:lang *
The attributes marked with an asterisk are kind of useless. Please see our <p (attr)="..."> page for working examples.
Events
The following events may be attached to a paragraph tag:
- onclick
- ondblclick
- onmousedown
- onmouseup
- onmouseover
- onmouseout
- onmousemove *
- onkeypress *
- onkeydown *
- onkeyup *
The events marked with an asterisk are kind of useless. Please see our <p (event)="..."> page for working examples.
BestWebTutorials.com is a free service of CrystalClearWeb.net. You can help us keep providing free tutorials and information by:
- Link to us
- Tell a friend
- Correct any you might find
- Make for improvement
- Make a donation
BestWebTutorials.com attempts to post accurate information on this site, but we cannot guarantee that errors do not sometimes occur. The use of code examples from this site in any other site is at the user's own risk. We cannot guarantee that our code might not be in conflict with code written by others, or that our code is fit for other uses.
For further information please review our Terms of Use and Privacy Policy.
Copyright 2005-2008 CrystalClearWeb.net. All rights reserved.

