第1个回答 2011-12-28
DHTML means Web page to the user response, rather than relying only on the server or embedded program. That is to say, the DHTML page can automatically change. DHTML technology contains 4 parts: HTML, CSS, DOM and scripting language ( VBscript and Javascript ).DOM ( Docement Object Modal )DHTML requires a method to query, browse the document, we use static HTML work, the browser will refer to the entire document, and translate it and display, even if the end of work. It from the beginning to the end of the whole process as the display command to fill the text file. The use of DHTML, the document will establish its own query structure, namely, the document object model ( DOM ). The working principle of DOM is that, although the page display and text files, but the browser handle it differently, when the browser encountered on the page where each element, is located, and the similar elements in the stack. In this way, DOM can track every element on the page, from the smallest < H6 > < HR > title and horizontal ruler, to form so the elements. In essence, every time the page is loaded, the browser will establish a database, each labeled as a record in a database.DOM technology is still the main problems is the standard is not unified, which makes DHTML not very good compatibility. Now the main browser has two: Microsoft IE and Netscape NetScape, and both use different DOM standard. In the first, NetScape DOM defined an advantage, it is based on its current market share. But with the W3C the DOM standard release and IE on the standard better adaptability, and the Microsoft marketing strategy, IE DOM gradually occupied the main position, so the DOM standard is urgently needed to solve a problem.CSS ( Cascading Style Sheets )Cascading style sheet language ( CSS ) introduced the OOP ( object-oriented programming) are some of the concepts. Cascade means is in a separate Web page can be used in multiple styles, and the browser can be according to certain sequence to explain these patterns information. In three kinds of style sheets, page designers can use all of these three kinds of models, the browser will order processing and display them, their biggest characteristic is inherited, for contact type OOP language people, inheritance is the similarity in function, object description of similar modules, you define a class these modules, common code written in, then in each module corresponding to place calls to. In this way, you can avoid repeated work, makes the code appears refining efficiency; at the same time, the code easy to test, call the class a lot of places, and if anything goes wrong, only need to modify the module. CSS in the preparation of the HTML process, plays the role of class. CSS makes Web page of similar elements by law to combine, if CSS and HTML is the soul of DHTML, the former is the code for the administrator, and the latter is the Web skeleton. As with the DOM, CSS also has compatibility issues.Scripting language ( Script Language )Scripting language for the expansion of HTML is huge, so to speak, leaving the scripting language, e-commerce and other Internet applications will be unreachable.JavaScript is a scripting language, its identifier form and C, C + +, Delphi very similar. JavaScript commands and functions with other text and HTML identifier is placed in the user's Web webpage. When the user's browser check webpage, it will run the program and the implementation of the corresponding operation. JavaScript has the following characteristics:1 JavaScript is based on the object languageObject oriented programming is always trying to program processing for some can complete different function independent part combination, rather than treating it as a sequence of statements to accomplish a specific function. Object-oriented language is an object-oriented language, but it has created a good object.2 JavaScript is event driven languageIn Web webpage for an operation, will generate an event. Events can be anything. JavaScript is event-driven refers to, when an event occurs, it may carry on the corresponding, and specifically how appropriate will depend on your code.
第2个回答 2012-03-04
DHTML means Web page facing users have a response, and not just rely on servers or embedded within the program. That is to say, can automatically change DHTML page. DHTML technology includes four parts: HTML, CSS, DOM and scripting language (VBscript and Javascript).
DOM (Docement Object Modal)
DHTML need a way inquiry, browse the document, before we use static HTML work, the browser will consult the whole document, and translated it and shown, work even if over. It from start to finish the whole process is like that with instructions to fill text files. Use DHTML, the document will be set up their own inquires the structure, namely the document object model (DOM). DOM principle of work is as such, although page displays and text files, but the browser handles its method is different, when the browser meet on the page each element, is located in where, like generals and elements in the stack. In this way, DOM can track page each element, from the smallest < H6 > title and < HR > level ruler, to form so elements. In essence, whenever a page is loaded, the browser will be set up the database, each mark is become in a database record.
DOM technology is still the existing problem is not uniform standard, which makes DHTML no good compatibility. Now the main browsers have two kinds: Microsoft IE and NetScape's NetScape, and both adopt different DOM standards. In the first, NetScape definition DOM took advantage, that is based on it at the time, the market share. But with the W3C DOM standard issued this to the standards and IE the better the applicability, and Microsoft marketing strategies, IE DOM gradually occupy the central position, so the DOM standard unity is urgent to a problem.
CSS (Cascading Style Sheets)
Cascading style sheet language (CSS) introduced the OOP (object-oriented programming) some of the concepts. Cascade mean in a single Web page can use multiple style, and the browser can according to a certain order to explain these style information. In the three types of style menu, page designer can use all the three kinds of model, the browser will in order processing and display them, their biggest characteristics is the inheritance, for contact with people who language OOP type, inheritance is some similar functions, object will describe similar module, first a class definition, take these module common code is written in, and in each module corresponding place calls to class can. This way, you can avoid a lot of duplication, to make the code is refining high efficient; At the same time, the code for testing, calls to class place many, if something goes wrong, only need to modify module. CSS in the process of writing HTML, serves as a kind of role. CSS makes Web page similar elements were regularly combined, if the CSS and HTML is DHTML soul, is the former is the code administrator, while the latter is a Web frame. And DOM, CSS compatibility problems there.
Scripting Language (Script Language)
Scripting language to the expansion of the HTML is great, can say so, leave scripting language, e-commerce, Internet applications will be unreachable.
JavaScript is a scripting language, its identifier formally and C, C++, Delphi is very similar. JavaScript and function can be ordered with other text and HTML identifier together in the user's Web page placed. When a user's browser check the web, it will run the program and implement corresponding operation. JavaScript has the following features:
1. JavaScript is based on the language of the object
Object-oriented program design is always trying to program for some can complete the processing of the different function of the part of the independent combination, and not treat it as a specific function to be able to complete the sentence sequence. Based on object language is also a kind of object oriented language, but it has itself has created object.
2. JavaScript is event driven language
In the Web page for a operations, and will produce an event. Events can be anything. JavaScript is event driven refers to, when an event occurs, it can be carried on to the corresponding, and specific how to corresponding depends on your program code.本回答被网友采纳
第3个回答 2011-12-29
DHTML means Web page to the user response, rather than relying only on the server or embedded program. That is to say, the DHTML page can automatically change. DHTML technology contains 4 parts: HTML, CSS, DOM and scripting language ( VBscript and Javascript ).DOM ( Docement Object Modal )DHTML requires a method to query, browse the document, we use static HTML work, the browser will refer to the entire document, and translate it and display, even if the end of work. It from the beginning to the end of the whole process as the display command to fill the text file. The use of DHTML, the document will establish its own query structure, namely, the document object model ( DOM ). The working principle of DOM is that, although the page display and text files, but the browser handle it differently, when the browser encountered on the page where each element, is located, and the similar elements in the stack. In this way, DOM can track every element on the page, from the smallest < H6 > < HR > title and horizontal ruler, to form so the elements. In essence, every time the page is loaded, the browser will establish a database, each labeled as a record in a database.DOM technology is still the main problems is the standard is not unified, which makes DHTML not very good compatibility. Now the main browser has two: Microsoft IE and Netscape NetScape, and both use different DOM standard. In the first, NetScape DOM defined an advantage, it is based on its current market share. But with the W3C the DOM standard release and IE on the standard better adaptability, and the Microsoft marketing strategy, IE DOM gradually occupied the main position, so the DOM standard is urgently needed to solve a problem.CSS ( Cascading Style Sheets )Cascading style sheet language ( CSS ) introduced the OOP ( object-oriented programming) are some of the concepts. Cascade means is in a separate Web page can be used in multiple styles, and the browser can be according to certain sequence to explain these patterns information. In three kinds of style sheets, page designers can use all of these three kinds of models, the browser will order processing and display them, their biggest characteristic is inherited, for contact type OOP language people, inheritance is the similarity in function, object description of similar modules, you define a class these modules, common code written in, then in each module corresponding to place calls to. In this way, you can avoid repeated work, makes the code appears refining efficiency; at the same time, the code easy to test, call the class a lot of places, and if anything goes wrong, only need to modify the module. CSS in the preparation of the HTML process, plays the role of class. CSS makes Web page of similar elements by law to combine, if CSS and HTML is the soul of DHTML, the former is the code for the administrator, and the latter is the Web skeleton. As with the DOM, CSS also has compatibility issues.Scripting language ( Script Language )Scripting language for the expansion of HTML is huge, so to speak, leaving the scripting language, e-commerce and other Internet applications will be unreachable.JavaScript is a scripting language, its identifier form and C, C + +, Delphi very similar. JavaScript commands and functions with other text and HTML identifier is placed in the user's Web webpage. When the user's browser check webpage, it will run the program and the implementation of the corresponding operation. JavaScript has the following characteristics:1 JavaScript is based on the object languageObject oriented programming is always trying to program processing for some can complete different function independent part combination, rather than treating it as a sequence of statements to accomplish a specific function. Object-oriented language is an object-oriented language, but it has created a good object.2 JavaScript is event driven languageIn Web webpage for an operation, will generate an event. Events can be anything. JavaScript is event-driven refers to, when an event occurs, it may carry on the corresponding, and specifically how appropriate will depend on your code.
亲采纳吧
第4个回答 2012-01-05
DHTML means Web page facing users have a response, and not just rely on servers or embedded within the program. That is to say, can automatically change DHTML page. DHTML technology includes four parts: HTML, CSS, DOM and scripting language (VBscript and Javascript).
DOM (Docement Object Modal)
DHTML need a way inquiry, browse the document, before we use static HTML work, the browser will consult the whole document, and translated it and shown, work even if over. It from start to finish the whole process is like that with instructions to fill text files. Use DHTML, the document will be set up their own inquires the structure, namely the document object model (DOM). DOM principle of work is as such, although page displays and text files, but the browser handles its method is different, when the browser on the page met ?