Help Center

Local Navigation

Object: HTMLIFrameElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLIFrameElement object represents an <iframe> element in an HTML document.

The <iframe> element defines an inline frame.

HTMLIFrameElement properties

Property name

Type

Description

Status

Availability

align

String

Specifies the horizontal alignment of the horizontal line on the page.

writable

4.6 or later

contentDocument

Document

Returns a reference to the Document object that the frame contains.

read only

4.6 or later

contentWindow

Window

Returns a reference to the Window object that contains the frame.

writable

4.6 or later

frameBorder

String

Specifies whether or not a separator is displayed around the frame.

writable

4.6 or later

height

String

Specifies the height of the frame.

writable

4.6 or later

longDesc

String

Specifies a URL where the content of the frame is described.

writable

4.6 or later

marginHeight

String

Specifies the top and bottom margins for the frame. The value must be greater than 0.

writable

4.6 or later

marginWidth

String

Specifies the left and right margins of the frames. The value must be greater than 0.

writable

4.6 or later

name

String

Specifies a unique name for the frame.

writable

4.6 or later

scrolling

String

Specifies the scrolling behavior.

writable

4.6 or later

src

String

Specifies the URL of the source content for the frame.

writable

4.6 or later

width

String

Specifies the width of the frame.

writable

4.6 or later


Was this information helpful? Send us your comments.