HTML DOM教程 38-HTML DOM Object 对象

HTML DOM教程 38-HTML DOM Object 对象

 

  1:Link 对象

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

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

  2:Link Object Properties

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

 

你可能感兴趣的:(object)