Help Center

Local Navigation

HTML element: <p>

Availability

BlackBerry® Device Software 3.7 or later

The <p> element delimits a paragraph of text. Each <p> element starts on a new line.

Considerations

The align attribute of the <p> element is deprecated in HTML 4.01.

Attributes

Attribute

Value(s)

Description

Availability

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 class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <p> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.

For more information, see HTML event attributes.

Index


Was this information helpful? Send us your comments.