Help Center

Local Navigation

Object: HTMLLegendElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLLegendElement object represents a <legend> element in an HTML document.

The <legend> element specifies a caption for a <fieldset> element.

HTMLLegendElement properties

Property name

Type

Description

Status

Support level

Availability

accessKey

DOMString

Specifies the keypad key that gives access to the element.

writable

DOM 2 HTML

4.6 or later

align

DOMString

Specifies the horizontal or vertical alignment of the caption relative to the parent <fieldset> element.

writable

DOM 2 HTML

4.6 or later

form

HTMLFormElement

Returns the parent <form> element for the form control.

read only

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.