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

Support level

Availability

align

DOMString

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

writable

DOM 2 HTML

4.6 or later

alt

DOMString

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

writable

DOM 2 HTML

4.6 or later

archive

DOMString

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

writable

DOM 2 HTML

4.6 or later

code

DOMString

Specifies the location of the class file for the applet.

writable

DOM 2 HTML

4.6 or later

codeBase

DOMString

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

writable

DOM 2 HTML

4.6 or later

height

DOMString

Specifies the height of the applet.

writable

DOM 2 HTML

4.6 or later

hspace

int

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

writable

DOM 2 HTML

4.6 or later

name

DOMString

Specifies the name for the applet.

writable

DOM 2 HTML

4.6 or later

object

DOMString

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

DOM 2 HTML

4.6 or later

vspace

int

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

writable

DOM 2 HTML

4.6 or later

width

DOMString

Specifies the width of the object.

writable

DOM 2 HTML

4.6 or later

Previous topic: HTMLAnchorElement methods

Was this information helpful? Send us your comments.