OBJECT HTML Element

Send Feedback

The OBJECT element inserts an ActiveX® control onto the page. This is a block element and requires a closing tag.

Note   Internet Explorer Mobile cannot download controls. You are limited to using the pre-installed controls for the device.

Attributes

Attribute Value Description
ACCESSKEY 0...9, #, * Gives access or focus to an active HTML element by using a keypad number.
Note   For Pocket PCs, supported only for devices running Windows Mobile 2003 software or later.
ALIGN Top

Center

Middle

Bottom

Specifies ActiveX control alignment.
CLASSID URL Specifies the control class identifier. The format is "clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX". This attribute is mandatory for the control to render.
HEIGHT 0...# Specifies the ActiveX control height in pixels.
HSPACE 0...# Sets the ActiveX control horizontal margin in pixels.
ID String Specifies the string identifying the object. Can be used so that the OBJECT can be referenced from script. This attribute is mandatory for the control to render.
NAME   Sets or retrieves the name of the object.
Note   Supported only for devices running Windows Mobile 2003 software or later.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Supported only for devices running Windows Mobile 2003 software or later.
TABINDEX   Sets the order in which elements are tabbed to.
Note   Supported only for devices running Windows Mobile 2003 software or later.
VSPACE 0...# Sets the ActiveX control vertical margin in pixels.
WIDTH 0...# Specifies the ActiveX control width in pixels.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.