HTML element: <object>
The <object> element specifies an embedded object. The BlackBerry® Browser supports embedded content such as PME (transcoded SVG) content, SVG content (on BlackBerry devices running BlackBerry Device Software 4.7.1 or later), MIDI files, and other HTML pages. The BlackBerry Browser does not support embedded applets.
The BlackBerry Browser displays embedded content only if it has been set to do so by the end user.
Attributes
Attribute |
Value(s) |
Description |
Availability |
|---|---|---|---|
align |
bottom left right top |
This attribute defines the alignment of the text around the object. |
4.6 or later |
archive |
URL |
This attribute specifies a whitespace-separated list of URLs to archives which contain resources for the object. |
4.6 or later |
border |
pixels |
This attribute specifies the width of the border around the object. |
4.6 or later |
classid |
URL |
This attribute specifies the location of the class ID for the object. |
4.6 or later |
codebase |
URL |
This attribute specifies the location of the code for the object. |
4.6 or later |
codetype |
content-type |
This attribute specifies the content type of the data when downloading the object. |
4.6 or later |
data |
URL |
This attribute specifies the location of the data for the object. |
4.6 or later |
height |
length |
This attribute specifies the height of the object, with the unit of measurement. |
4.6 or later |
hspace |
pixels |
This attribute specifies the amount of whitespace that is inserted to the left and right of the object. |
4.6 or later |
name |
text |
This attribute specifies a unique name for the object. |
4.6 or later |
standby |
text |
This attribute defines text to display while the object is loading. |
4.6 or later |
type |
MIME-type |
This attribute specifies the MIME type of the data specified by the data attribute. |
4.6 or later |
usemap |
URL |
This attribute specifies the location of a client-side map used with the object. |
4.6 or later |
vspace |
pixels |
This attribute specifies the amount of whitespace that is inserted above and below the object. |
4.6 or later |
width |
length |
This attribute specifies the width of the object, with the unit of measurement. |
4.6 or later |
Common attributes
The <object> element supports the class, dir, id, lang, style, and title attributes.
For more information, see Common attributes.
Event attributes
The <object> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.
For more information, see HTML event attributes.