HTML DOM Object 对象

Link 对象

Object 对象代表 HTML 的 <object> 元素。

<object> 元素用于嵌入的可执行内容。

IE: Internet Explorer, F: Firefox, O: Opera, W3C: W3C 标准.

Link 对象属性

属性 描述 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

标准属性

属性 描述 IE F O W3C
className 设置或返回元素的 class 属性。 5 1 9 Yes
dir 设置或返回文本的方向。 5 1 9 Yes
lang 设置或返回元素的语言代码。 5 1 9 Yes
title 设置或返回元素的 title 属性。 5 1 9 Yes