Help Center

Local Navigation

Object: HTMLObjectElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLObjectElement object represents an <object> element in an HTML document.

The <object> element specifies an embedded object.

HTMLObjectElement properties

Property name

Type

Description

Status

Availability

align

String

Specifies the horizontal or vertical alignment of the object.

writable

4.6 or later

archive

String

Specifies a whitespace-separated list of URLs for archives which contain resources for the object.

writable

4.6 or later

border

String

Specifies the width of the border around the object.

writable

4.6 or later

code

String

Specifies the location of the class ID for the object.

writable

4.6 or later

codeBase

String

Specifies the root location for the object’s code and data.

writable

4.6 or later

codeType

String

Specifies the MIME type for the data downloaded for use by the object.

writable

4.6 or later

contentDocument

Document

Returns the document this object contains, if there is one. If the object contains no document, this property returns null.

read only

4.6 or later

data

String

Specifies the URI that defines the location of the object’s data.

writable

4.6 or later

declare

boolean

When true, indicates that this object should be declared, but not instantiated.

writable

4.6 or later

form

HTMLFormElement

Returns the form that contains this object. If the object is not contained by a form, this property returns null.

writable

4.6 or later

height

String

Specifies the height of the object.

writable

4.6 or later

hspace

int

Specifies the amount of whitespace, in pixels, inserted to the left and right of the object.

writable

4.6 or later

name

String

Specifies the name for the object.

writable

4.6 or later

standby

String

Specifies text to display while the object is loading.

writable

4.6 or later

tabIndex

int

Specifies the object's position in the tabbing order.

writable

4.6 or later

type

String

Specifies the MIME type for the data specified by the data property.

writable

4.6 or later

useMap

String

Specifies the location of a client side map used with the object, if the object is an image.

writable

4.6 or later

vspace

int

Specifies the amount of white space, in pixels, inserted above and below the object.

writable

4.6 or later

width

String

Specifies the width of the object.

writable

4.6 or later

Previous topic: HTMLModElement properties

Was this information helpful? Send us your comments.