• HTML DOM教程 38HTML 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
  • 相关阅读:
    BZOJ1691: [Usaco2007 Dec]挑剔的美食家
    BZOJ1584: [Usaco2009 Mar]Cleaning Up 打扫卫生
    BZOJ3057: 圣主的考验
    BZOJ1770: [Usaco2009 Nov]lights 燈
    1710: [Usaco2007 Open]Cheappal 廉价回文
    「Poetize7」电话线路
    「Poetize6」Candle
    「Poetize5」水叮当的舞步
    解题:CF983A Finite or not
    解题:POI 2013 Triumphal arch
  • 原文地址:https://www.cnblogs.com/pricks/p/1450208.html
Copyright © 2020-2023  润新知