HTML Dom tutorial 38-html DOM object
1: link object
An object represents the <Object> element of HTML.
<Object> elements are used to embed executable content.
2: link object properties
Attribute |
Description |
IE |
F |
O |
W3C |
Align |
Sets or returns the alignment of the object according to the surrounding text |
5 |
1 |
9 |
Yes |
Archive |
Sets or returns a string that can be used to implement your own archive functionality for the object |
6 |
1 |
9 |
Yes |
Border |
Sets or returns the border around the object |
|
|
|
Yes |
Code |
Sets or returns the URL of the file that contains the compiled Java class |
5 |
1 |
9 |
Yes |
Codebase |
Sets or returns the URL of the component |
5 |
1 |
9 |
Yes |
Codetype |
|
|
|
|
Yes |
Data |
|
|
1 |
9 |
Yes |
Declare |
|
|
|
|
Yes |
Form |
Returns a reference to the object's parent form |
|
|
|
Yes |
Height |
Sets or returns the height of the object |
|
1 |
9 |
Yes |
Hspace |
Sets or returns the horizontal margin of the object |
5 |
1 |
9 |
Yes |
ID |
Sets or returns the ID of the object |
4 |
1 |
9 |
Yes |
Name |
Sets or returns the name of the object |
5 |
1 |
9 |
Yes |
Standby |
Sets or returns a message when loading the object |
|
|
|
Yes |
Tabindex |
Sets or returns the tab order for the object |
5 |
|
|
Yes |
Type |
Sets or returns the content type for data downloaded via the data attribute |
|
1 |
9 |
Yes |
Usemap |
|
|
1 |
9 |
Yes |
Vspace |
Sets or returns the vertical margin of the object |
5 |
1 |
9 |
Yes |
Width |
Sets or returns the width of the object |
|
1 |
9 |
Yes |
3: Standard Properties
Property |
Description |
IE |
F |
O |
W3C |
Classname |
Sets or returns the class attribute of an element |
5 |
1 |
9 |
Yes |
Dir |
Sets or returns the direction of Text |
5 |
1 |
9 |
Yes |
Lang |
Sets or returns the language code for an element |
5 |
1 |
9 |
Yes |
Title |
Sets or returns an element's advisory title |
5 |
1 |
9 |
Yes |