当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > DOM 对象
The Object object represents an HTML object element. The object element is used to place executable content on a page.
Object对象可代表一个HTML的object元素。object元素常放置在可执行的内容页上。
IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).
Property 属性 | Description 描述 | IE | F | N | W3C |
---|---|---|---|---|---|
align | Sets or returns the alignment of the object (according to the surrounding text) 设置或返回对象的对齐方式(依据周围文字) | 5 | 1 | 6 | Yes |
archive | Sets or returns a string that can be used to implement your own archive functionality for the object 设置或返回针对object功能性自定义文档实施 | 6 | 1 | 6 | Yes |
border | Sets or returns the width of the border around the object 设置或返回object的边框宽度 | - | Yes | ||
code | Sets or returns the URL of the file that contains the compiled Java class 设置或返回Java类汇编的文件URL | 5 | 1 | 6 | Yes |
codeBase | Sets or returns the URL of the component 设置或返回组件的URL | 5 | 1 | 6 | Yes |
codeType | - | Yes | |||
data | - | 1 | 6 | Yes | |
declare | - | Yes | |||
form | Returns a reference to the object's parent form 返回object的父表参考 | - | Yes | ||
height | Sets or returns the height of the object 设置或返回object的高度 | - | 1 | 6 | Yes |
hspace | Sets or returns the horizontal margin of the object 设置或返回object的水平边剧 | 5 | 1 | 6 | Yes |
id | Sets or returns the id of the object 设置或返回object的id | 4 | 1 | No | |
name | Sets or returns the name of the object 设置或返回object的name | 5 | 1 | 6 | Yes |
standby | Sets or returns a message when loading the object 设置或返回当加载object时的信息 | - | Yes | ||
tabIndex | Sets or returns the tab order of the object 设置或返回object的tab顺序 | 5 | Yes | ||
type | Sets or returns the content type for data downloaded via the data attribute | - | 1 | 6 | Yes |
useMap | - | 1 | 6 | Yes | |
vspace | Sets or returns the vertical margin of the object 设置或返回object的垂直边距 | 5 | 1 | 6 | Yes |
width | Sets or returns the width of the object 设置或返回object的宽 | - | 1 | 6 | Yes |