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就清晰明了多了
   
attribute
   Represents an attribute or property of an HTML element as an object.

clientInformation
   Contains information about the browser. 

clipboardData
   Provides access to predefined clipboard formats for use in editing operations.

currentStyle !
   Represents the cascaded format and style of the object as specified by global style sheets, inline styles, and HTML attributes.

dataTransfer
   Provides access to predefined clipboard formats for use in drag-and-drop operations.

defaults
   Programmatically sets default properties on an element behavior.

Dialog Helper
   Provides access the color dialog box, as well as the block format and fonts collections. 

document !
   Represents the HTML document in a given browser window. 

event !
   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. 

external !
   Allows access to an additional object model provided by host applications of the Microsoft Internet Explorer browser components.

history !
   Contains information about the URLs visited by the client.

HTML Comment
   Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window. 

implementation
   Contains information about the modules supported by the object.

IMPORT
   Imports a tag definition from an element behavior.

location !
   Contains information about the current URL. 

namespace
   Dynamically imports an element behavior into a document.

navigator
   Contains information about the browser. 

nextID
   Creates unique identifiers that text editing software can read.

page
   Represents an @page rule within a styleSheet.

popup !
   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.

rule
   Represents a style within a Cascading Style Sheets (CSS) that consists of a selector and one or more declarations.

runtimeStyle !
   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.

screen !
   Contains information about the client's screen and rendering capabilities. 

selection
   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.

style !
   Represents the current settings of all possible inline styles for a given element.

styleSheet !
   Represents a single style sheet in the document.

TextNode !
   Represents a string of text as a node in the document hierarchy.

TextRange !
   Represents text in an HTML element. 

TextRectangle
   Specifies a rectangle that contains a line of text in either an element or a TextRange object.

userProfile
   Provides methods that allow a script to request read access to and perform read actions on a user's profile information.

window !
   Represents an open window in the browser. 

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


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

目录
相关文章
|
XML 移动开发 开发框架
基础:html5、html、htm、xhtml、dhtml、shtml、shtm、xml、xsl、xslt
基础:html5、html、htm、xhtml、dhtml、shtml、shtm、xml、xsl、xslt
389 0
|
11月前
|
存储 前端开发 JavaScript
仿真银行app下载安装, 银行卡虚拟余额制作app,用html+css+js实现逼真娱乐工具
这是一个简单的银行账户模拟器项目,用于学习前端开发基础。用户可进行存款、取款操作,所有数据存储于浏览器内存中
|
前端开发
【2025优雅草开源计划进行中01】-针对web前端开发初学者使用-优雅草科技官网-纯静态页面html+css+JavaScript可直接下载使用-开源-首页为优雅草吴银满工程师原创-优雅草卓伊凡发布
【2025优雅草开源计划进行中01】-针对web前端开发初学者使用-优雅草科技官网-纯静态页面html+css+JavaScript可直接下载使用-开源-首页为优雅草吴银满工程师原创-优雅草卓伊凡发布
1200 1
【2025优雅草开源计划进行中01】-针对web前端开发初学者使用-优雅草科技官网-纯静态页面html+css+JavaScript可直接下载使用-开源-首页为优雅草吴银满工程师原创-优雅草卓伊凡发布
css3 svg制作404页面动画效果HTML源码
css3 svg制作404页面动画效果HTML源码
299 34
|
前端开发 JavaScript
【02】v1.0.1更新增加倒计时完成后的放烟花页面-优化播放器-优化结构目录-蛇年新年快乐倒计时领取礼物放烟花html代码优雅草科技央千澈写采用html5+div+CSS+JavaScript-优雅草卓伊凡-做一条关于新年的代码分享给你们-为了C站的分拼一下子
【02】v1.0.1更新增加倒计时完成后的放烟花页面-优化播放器-优化结构目录-蛇年新年快乐倒计时领取礼物放烟花html代码优雅草科技央千澈写采用html5+div+CSS+JavaScript-优雅草卓伊凡-做一条关于新年的代码分享给你们-为了C站的分拼一下子
723 14
【02】v1.0.1更新增加倒计时完成后的放烟花页面-优化播放器-优化结构目录-蛇年新年快乐倒计时领取礼物放烟花html代码优雅草科技央千澈写采用html5+div+CSS+JavaScript-优雅草卓伊凡-做一条关于新年的代码分享给你们-为了C站的分拼一下子
|
前端开发
“弘五四,耀青春”程序创意获奖作品【html+css】
本作品以“青春筑梦,共创未来”为主题,采用动态龙元素展现青春活力与创新精神。页面设计简洁明快,色彩协调,突显年轻人积极向上的风貌。作品内容包括获奖截图、名字《时代扬新帆》及源代码分享。特别说明:禁止用于商业活动,可用于比赛和作业等开源场景。最后,作者表达了对五四精神的致敬与传承,强调了青春活力和创造力的重要性,并感谢评委和支持者。 **获奖感言摘录:** “获得这个奖项,对我们团队来说,既是认可也是激励。我们将继续努力,不断优化产品,为用户带来更好的体验,为社会贡献更多价值。”
331 2
|
人工智能 程序员 UED
【01】完成新年倒计时页面-蛇年新年快乐倒计时领取礼物放烟花html代码优雅草科技央千澈写采用html5+div+CSS+JavaScript-优雅草卓伊凡-做一条关于新年的代码分享给你们-为了C站的分拼一下子
【01】完成新年倒计时页面-蛇年新年快乐倒计时领取礼物放烟花html代码优雅草科技央千澈写采用html5+div+CSS+JavaScript-优雅草卓伊凡-做一条关于新年的代码分享给你们-为了C站的分拼一下子
854 21
【01】完成新年倒计时页面-蛇年新年快乐倒计时领取礼物放烟花html代码优雅草科技央千澈写采用html5+div+CSS+JavaScript-优雅草卓伊凡-做一条关于新年的代码分享给你们-为了C站的分拼一下子
html+js+css实现的建筑方块立体数字时钟源码
html+js+css实现的建筑方块立体数字时钟源码
648 33
一个好看的小时钟html+js+css源码
一个好看的小时钟html+js+css源码
292 24
|
存储 移动开发 前端开发
高效的 HTML 与 CSS 编写技巧,涵盖语义化标签、文档结构优化、CSS 预处理、模块化设计、选择器优化、CSS 变量、媒体查询等内容
本文深入探讨了高效的 HTML 与 CSS 编写技巧,涵盖语义化标签、文档结构优化、CSS 预处理、模块化设计、选择器优化、CSS 变量、媒体查询等内容,旨在提升开发效率、网站性能和用户体验。
451 5