Help Center

Local Navigation

HTML element: <h1> to <h6>

Availability

BlackBerry® Device Software 3.7 or later

The <h1> to <h6> heading elements are used to provide organizational headings for the document. By default, the BlackBerry® Browser renders heading elements in bold. The <h1> element appears in the largest font, with the font size decreasing for each successive heading level.

Considerations

The align attribute for all heading elements is deprecated in HTML 4.01.

Attributes

Attribute

Value(s)

Description

Availability

align

center

justify

left

right

Deprecated. This attribute specifies the horizontal alignment of the heading text.

3.7 or later

Common attributes

The heading elements support the class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The heading elements support 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.