Share via


APPLET XHTML Element

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The APPLET element is ignored until a Java Virtual Machine (JVM) is installed.

Using this Element

There are some common properties and collections that apply to all the elements of the document object model, see Common Properties, Methods and Collections for the HTML Elements in Internet Explorer Mobile.

This element can be used within a web page with attributes.

This element can be used within scripts where it will have properties, events and methods.

Attributes

The following table shows items that Internet Explorer Mobile supports

Attribute Value Description

ACCESSKEY

0…9, #, *

 

ALIGN

 

 

 

top

 

 

middle

 

 

bottom

 

CODE

URL

This attribute indicates a URL pointing to the Applet's code/class.

CODEBASE

URL

This attribute indicates the base URL of the applet if the CODE attribute is relative. If the CODEBASE URL is relative, it is in relation to the current document URL or the BASE HREF element, if present.

> [!NOTE] > This attribute is security checked. The URL zone is checked before the operation is allowed.

HEIGHT

0…#

This attribute explicitly specifies the height of the applet in pixels.

HSPACE

0…#

This attribute specifies the horizontal spacing (left and right padding) around the applet in pixels.

ID

 

 

NAME

String

This provides a way for the applet to identify itself to other applets in the current HTML page.

VSPACE

0…#

This attribute specifies the vertical spacing (top and bottom padding) around the applet in pixels.

WIDTH

0…#

This attribute explicitly specifies the width of the applet in pixels.

Scripting Properties

This element has no scripting properties.

Scripting Events

This element has no associated events.

Scripting Methods

This property has no associated methods.

Requirements

Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Concepts

Internet Explorer Mobile HTML Elements