HTML element: <p>
Availability
|
Full support as of BlackBerry®
Device Software version 3.7.
|
The <p> element delimits a paragraph of text. Each <p> element starts on a new line.
Differences between HTML, XHTML, and XHTML-MP
The align attribute of the <p> element is deprecated in HTML 4.01. XMHTL (strict) and XHTML-MP do not support the align attribute.
Attributes
Attribute
|
Value(s)
|
Description
|
Supported in
|
align
|
center
justify
left
right
|
This attribute specifies how the enclosed text should be horizontally aligned.
|
3.7 or later
|
Common attributes
|
—
|
The <p> element supports the collowing common attributes:
- class
- dir
- id
- lang
- style
- title
|
4.6 or later
|
Event attributes
|
—
|
The <p> element supports the following event attributes:
- onclick
- onkeydown
- onkeypress
- onkeyup
- onmousedown
- onmousemove
- onmouseout
- onmouseover
- onmouseup
|
4.6 or later
|
Index
Was this information helpful? Send us your comments.