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.gif attribute
None.gif   Represents an attribute or property of an HTML element as an object.
None.gif
None.gif clientInformation
None.gif   Contains information about the browser. 
None.gif
None.gif clipboardData
None.gif   Provides access to predefined clipboard formats for use in editing operations.
None.gif
None.gif currentStyle !
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.gif dataTransfer
None.gif   Provides access to predefined clipboard formats for use in drag-and-drop operations.
None.gif
None.gif defaults
None.gif   Programmatically sets default properties on an element behavior.
None.gif
None.gif Dialog Helper
None.gif   Provides access the color dialog box, as well as the block format and fonts collections. 
None.gif
None.gif document !
None.gif   Represents the HTML document in a given browser window. 
None.gif
None.gif event !
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.gif external !
None.gif   Allows access to an additional object model provided by host applications of the Microsoft Internet Explorer browser components.
None.gif
None.gif history !
None.gif   Contains information about the URLs visited by the client.
None.gif
None.gif HTML Comment
None.gif   Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window. 
None.gif
None.gif implementation
None.gif   Contains information about the modules supported by the object.
None.gif
None.gif IMPORT
None.gif   Imports a tag definition from an element behavior.
None.gif
None.gif location !
None.gif   Contains information about the current URL. 
None.gif
None.gif namespace
None.gif   Dynamically imports an element behavior into a document.
None.gif
None.gif navigator
None.gif   Contains information about the browser. 
None.gif
None.gif nextID
None.gif   Creates unique identifiers that text editing software can read.
None.gif
None.gif page
None.gif   Represents an @page rule within a styleSheet.
None.gif
None.gif popup !
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.gif rule
None.gif   Represents a style within a Cascading Style Sheets (CSS) that consists of a selector and one or more declarations.
None.gif
None.gif runtimeStyle !
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.gif screen !
None.gif   Contains information about the client's screen and rendering capabilities. 
None.gif
None.gif selection
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.gif style !
None.gif   Represents the current settings of all possible inline styles for a given element.
None.gif
None.gif styleSheet !
None.gif   Represents a single style sheet in the document.
None.gif
None.gif TextNode !
None.gif   Represents a string of text as a node in the document hierarchy.
None.gif
None.gif TextRange !
None.gif   Represents text in an HTML element. 
None.gif
None.gif TextRectangle
None.gif   Specifies a rectangle that contains a line of text in either an element or a TextRange object.
None.gif
None.gif userProfile
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.gif window !
None.gif   Represents an open window in the browser. 

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


本文转自博客园鸟食轩的博客,原文链接:http://www.cnblogs.com/birdshome/,如需转载请自行联系原博主。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值