Help Center

Local Navigation

Object: HTMLAppletElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLAppletElement object represents an <applet> element in an HTML document.

The <applet> element embeds an applet into an HTML document. The <applet> element is deprecated in HTML 4.01 and is not supported by the BlackBerry® Browser.

HTMLAppletElement is supported in the BlackBerry Browser’s JavaScript® implementation to conform with the HTML DOM Level 2 specification. However, <applet> elements will not be visually displayed in the browser and will not have any impact on the document layout.

HTMLAppletElement properties

Property name

Type

Description

Status

Availability

align

String

Specifies the horizontal or vertical alignment the object, relative to the surrounding text.

writable

4.6 or later

alt

String

Specifies alternate text that is rendered when the normal content of the element is not.

writable

4.6 or later

archive

String

Specifies a comma-separated list of URIs pointing to archives which contain resources for the applet.

writable

4.6 or later

code

String

Specifies the location of the class file for the applet.

writable

4.6 or later

codeBase

String

Specifies the Base URI for the applet’s code and data.

writable

4.6 or later

height

String

Specifies the height of the applet.

writable

4.6 or later

hspace

int

Specifies the amount of white space, in pixels, inserted to the left and right of the applet.

writable

4.6 or later

name

String

Specifies the name for the applet.

writable

4.6 or later

object

String

Specifies a resource containing a serialized representation of an applet's state, which provides the applet’s class name, but not the implementation. The class name is used to retrieve the implementation.

writable

4.6 or later

vspace

int

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

writable

4.6 or later

width

String

Specifies the width of the object.

writable

4.6 or later


Was this information helpful? Send us your comments.