HTML DOM Object 对象

Link 对象

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

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

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

Link 对象属性

属性描述IEFOW3C
alignSets or returns the alignment of the object according to the surrounding text 519Yes
archiveSets or returns a string that can be used to implement your own archive functionality for the object 619Yes
borderSets or returns the border around the object   Yes
codeSets or returns the URL of the file that contains the compiled Java class 519Yes
codeBaseSets or returns the URL of the component519Yes
codeType    Yes
data  19Yes
declare    Yes
formReturns a reference to the object's parent form   Yes
heightSets or returns the height of the object 19Yes
hspaceSets or returns the horizontal margin of the object519Yes
idSets or returns the id of the object419Yes
nameSets or returns the name of the object519Yes
standbySets or returns a message when loading the object   Yes
tabIndexSets or returns the tab order for the object5  Yes
typeSets or returns the content type for data downloaded via the data attribute  19Yes
useMap  19Yes
vspaceSets or returns the vertical margin of the object519Yes
widthSets or returns the width of the object 19Yes

标准属性

属性描述IEFOW3C
className 设置或返回元素的 class 属性。519Yes
dir 设置或返回文本的方向。519Yes
lang 设置或返回元素的语言代码。519Yes
title 设置或返回元素的 title 属性。519Yes