HTML Elements 和 DHTML Objects

    在查看MSDN时,我们会发现有的特性描述是针对HTML Elements的,而有的描述却是针对 DHTML Objects的。虽然地球人都知道DHTML是指的Dynamicl HTML,那么它和HTML元素是什么关系呢?其实HTML是DHTML的一个完全的子集,任何的HTML元素也就是DHTML中的对象。

    不过在MSDN中,M$对于HTML Elements和DHTML Objects分别都全部列了出来,这样让我们看起来非常的郁闷,DHTML Objects列表中由于混杂了HTML Elements,看起来非常的混乱。下面的我列出了DHTML中唯一属于 D的部分,这样来看DHTML Objects就清晰明了多了 emteeth.gif
   
None.gifattribute
None.gif   Represents an attribute or property of an HTML element as an object.
None.gif
None.gifclientInformation
None.gif   Contains information about the browser. 
None.gif
None.gifclipboardData
None.gif   Provides access to predefined clipboard formats for use in editing operations.
None.gif
None.gifcurrentStyle!
None.gif   Represents the cascaded format and style of the object as specified by global style sheets, inline styles, and HTML attributes.
None.gif
None.gifdataTransfer
None.gif   Provides access to predefined clipboard formats for use in drag-and-drop operations.
None.gif
None.gifdefaults
None.gif   Programmatically sets default properties on an element behavior.
None.gif
None.gifDialog Helper
None.gif   Provides access the color dialog box, as well as the block format and fonts collections. 
None.gif
None.gifdocument!
None.gif   Represents the HTML document in a given browser window. 
None.gif
None.gifevent!
None.gif   Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons. 
None.gif
None.gifexternal!
None.gif   Allows access to an additional object model provided by host applications of the Microsoft Internet Explorer browser components.
None.gif
None.gifhistory!
None.gif   Contains information about the URLs visited by the client.
None.gif
None.gifHTML Comment
None.gif   Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window. 
None.gif
None.gifimplementation
None.gif   Contains information about the modules supported by the object.
None.gif
None.gifIMPORT
None.gif   Imports a tag definition from an element behavior.
None.gif
None.giflocation!
None.gif   Contains information about the current URL. 
None.gif
None.gifnamespace
None.gif   Dynamically imports an element behavior into a document.
None.gif
None.gifnavigator
None.gif   Contains information about the browser. 
None.gif
None.gifnextID
None.gif   Creates unique identifiers that text editing software can read.
None.gif
None.gifpage
None.gif   Represents an @page rule within a styleSheet.
None.gif
None.gifpopup!
None.gif   A special type of overlapped window typically used for dialog boxes, message boxes, and other temporary windows that appear separate from an application's main window.
None.gif
None.gifrule
None.gif   Represents a style within a Cascading Style Sheets (CSS) that consists of a selector and one or more declarations.
None.gif
None.gifruntimeStyle!
None.gif   Represents the cascaded format and style of the object that overrides the format and style specified in global style sheets, inline styles, and HTML attributes.
None.gif
None.gifscreen!
None.gif   Contains information about the client's screen and rendering capabilities. 
None.gif
None.gifselection
None.gif   Represents the active selection, which is a highlighted block of text, and/or other elements in the document on which a user or a script can carry out some action.
None.gif
None.gifstyle!
None.gif   Represents the current settings of all possible inline styles for a given element.
None.gif
None.gifstyleSheet!
None.gif   Represents a single style sheet in the document.
None.gif
None.gifTextNode!
None.gif   Represents a string of text as a node in the document hierarchy.
None.gif
None.gifTextRange!
None.gif   Represents text in an HTML element. 
None.gif
None.gifTextRectangle
None.gif   Specifies a rectangle that contains a line of text in either an element or a TextRange object.
None.gif
None.gifuserProfile
None.gif   Provides methods that allow a script to request read access to and perform read actions on a user's profile information.
None.gif
None.gifwindow!
None.gif   Represents an open window in the browser. 

    注:后面跟有 !的是我们比较常见和常用的DHTML Object。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值