dhtml:
To be precise, DHTML is just a concept of making web pages, and in fact no organization or organization has introduced so-called DHTML standards or technical specifications or the like. DHTML is not a technology, standard or specification. DHTML is just a design concept that integrates and applies existing web page technology and language standards to create a web page that can still change the effects of page elements in real time after downloading.
DHTML roughly contains the following web technologies, standards or specifications:
HTML 4.0
There is nothing to say, the basic language standards of web pages.
CSSL
Notice! It is not CSS, it is CSSL. It is the abbreviation of Client-Side Scripting Language, translated as "client scripting language". It mainly includes JavaScript (JS), VBScript (VBS), and JScript. Netscape mainly supports JS, and IE mainly supports JS, VBS and JScript.
DOM
Document Object Model, translated as "Document Object Model", is one of the web technical standards that W3C has vigorously promoted recently. It abstracts the content of the web page into objects, and each object has its own properties, methods and events, which can be controlled through the CSSL mentioned above. The object models of IE and NS are generated based on the published DOM of W3C and are combined with their own Extended Object.
CSS
This is the abbreviation of Cascading Style Sheets, and it is also the technical specification that is discussed most frequently in the forum. It is an auxiliary design specification for HTML, used to make up for the shortcomings caused by the limitations of HTML in terms of layout. It is part of the DOM. In theory, dynamically changing CSS properties through CSSL can make any page visual effect you want.
So, simply put, to implement DHTML, it is to use HTML as the basis, use DOM to object page elements, and use CSSL to control the CSS properties of these objects to achieve the dynamic visual effect of the web page.
shtml:
When asked about the difference between SHTML and HTML, if you want to explain it in one sentence, it is: SHTML is not HTML but a server API, and shtml is an html produced dynamically by the server.
Although both are hypertext formats, shtml is a file used for SSI technology. That is, Server Side Include--SSI The server side contains instructions. If the Web Server has SSI function (most (especially Unix-based WEB servers such as Netscape Enterprise Server, etc., support SSI commands).
Special treats to the shtml file. Scan the shtml file first to see if there is no special SSI command now.
If you have any, follow the Web Server setting rules to explain the SSI instructions. After explanation, remove the client along with the general html.
shtml
Using SSI (Server Side Include) html file extension, SSI (Server Side Include), commonly known as "server-side embedding" or "server-side inclusion", is a server-based web page production technology similar to ASP.
How SSI works:
Before sending content to the browser, you can use the Server Side Inclusion (SSI) command to include text, graphics, or application information into a web page. For example, you can use SSI to include a time/date stamp, a copyright notice, or a form for the customer to fill out and return. Using include files is an easy way to use text or graphics that appear repeatedly in multiple files. Save the content into a containing file without having to enter the content into all files. The include file can be called through a very simple statement, which instructs the Web server to insert the content into the appropriate web page. And, when using include files, all changes to the content can be done in one place.
Because files containing SSI directives require special processing, all SSI files must be given SSI file extensions. The default extensions are .stm, .shtml and
The web server processes SSI instructions while processing web pages. When the web server encounters an SSI instruction, directly insert the content containing the file into the HTML web page. If the "Include File" contains the SSI directive, then insert the file at the same time. In addition to basic instructions for containing files, you can also use the SSI instructions to insert relevant information about the file (such as the size of the file) or run an application or shell command.
One problem that website maintenance often encounters is that the structure of the website is fixed, but in order to update a little content, a large number of web pages have to be redone. SSI provides a simple and effective way to solve this problem. It puts the basic structure of a website in several simple HTML files (templates). All we have to do in the future is to pass the text to the server, and let the program automatically generate web pages according to the template, thus making it easy to manage large websites.
Therefore, the purpose of using SHTML format is similar to ASP, but because it is an API, it runs faster, is more efficient, is faster than ASP, and is slower than HTML. However, since it can be included on the server side, it makes it easier to update the page (especially batch update banners, copyrights, etc.). Imagine that you have an HTML paragraph that needs to intersperse some special server-side scripts in the middle, such as inserting other HTML paragraphs. You choose ASP to complete this task, but if the task is more heavy, it takes more time, such as 5 s. At this time, you don’t use ASP but SHTML, and perhaps the processing time is only 4 s.
xhtml:
HTML is a basic WEB web design language. XHTML is an XML-based markup language. It looks somewhat similar to HTML, with only some small but important differences. XHTML is an XML that plays a role similar to HTML. Therefore, essentially, XHTML is a transition technology that combines the powerful functions of XML (some of them) and the simple features of HTML (mostly).
At the end of 2000, the International W3C (World Wide Web Consortium) organization announced the release of XHTML version 1.0. XHTML 1.0 is a new language optimized and improved on HTML 4.0, with the purpose of being based on XML applications. XHTML is an enhanced HTML, and its scalability and flexibility will adapt to the needs of future network applications. Below are common basic questions about XHTML answered by Steven Pemberton, chairman of the W3C's HTML Working Group.
(1) XHTML solves the problems that seriously restrict its development in the HTML language. There are three main disadvantages of HTML development today: it cannot adapt to the needs of more network devices and applications now, such as mobile phones, PDAs, and information appliances, which cannot directly display HTML; because the HTML code is not standardized and bloated, the browser needs to be smart and huge enough to display HTML correctly; the data and performance are mixed, so that if your page changes its display, you must re-create HTML. Therefore, HTML needs to develop to solve this problem, so W3C formulated XHTML, which is a bridge from HTML to XML.
(2) XML is the trend of web development, so people are eager to join the XML trend. XHTML is the current standard to replace HTML4 markup language. Using XHTML 1.0, as long as you carefully abide by some simple rules, you can design pages that are suitable for both the XML system and most current HTML browsers. This means that you can design XML immediately without waiting until people use XML-enabled browsers. This guideline allows a smooth transition to XML for the web.
(3) Another advantage of using XHTML is that it is very strict. The current bad situation of HTML on the Internet is shocking. Early browsers accepted private HTML tags, so people had to use various browsers to detect the page after the page design was completed to see if it was compatible. There are often many inexplicable differences, and people had to modify the design to adapt to different browsers.
(4) XHTML can interact well with other XML-based markup languages, applications and protocols.
(5) XHTML is part of the Web Standards family and can be used well in other user agents such as wireless devices.
(6) In terms of website design, XHTML can help you get rid of the bad habit of presenting code and help you develop the habit of mark verification to test page work.
To be precise, DHTML is just a concept of making web pages, and in fact no organization or organization has introduced so-called DHTML standards or technical specifications or the like. DHTML is not a technology, standard or specification. DHTML is just a design concept that integrates and applies existing web page technology and language standards to create a web page that can still change the effects of page elements in real time after downloading.
DHTML roughly contains the following web technologies, standards or specifications:
HTML 4.0
There is nothing to say, the basic language standards of web pages.
CSSL
Notice! It is not CSS, it is CSSL. It is the abbreviation of Client-Side Scripting Language, translated as "client scripting language". It mainly includes JavaScript (JS), VBScript (VBS), and JScript. Netscape mainly supports JS, and IE mainly supports JS, VBS and JScript.
DOM
Document Object Model, translated as "Document Object Model", is one of the web technical standards that W3C has vigorously promoted recently. It abstracts the content of the web page into objects, and each object has its own properties, methods and events, which can be controlled through the CSSL mentioned above. The object models of IE and NS are generated based on the published DOM of W3C and are combined with their own Extended Object.
CSS
This is the abbreviation of Cascading Style Sheets, and it is also the technical specification that is discussed most frequently in the forum. It is an auxiliary design specification for HTML, used to make up for the shortcomings caused by the limitations of HTML in terms of layout. It is part of the DOM. In theory, dynamically changing CSS properties through CSSL can make any page visual effect you want.
So, simply put, to implement DHTML, it is to use HTML as the basis, use DOM to object page elements, and use CSSL to control the CSS properties of these objects to achieve the dynamic visual effect of the web page.
shtml:
When asked about the difference between SHTML and HTML, if you want to explain it in one sentence, it is: SHTML is not HTML but a server API, and shtml is an html produced dynamically by the server.
Although both are hypertext formats, shtml is a file used for SSI technology. That is, Server Side Include--SSI The server side contains instructions. If the Web Server has SSI function (most (especially Unix-based WEB servers such as Netscape Enterprise Server, etc., support SSI commands).
Special treats to the shtml file. Scan the shtml file first to see if there is no special SSI command now.
If you have any, follow the Web Server setting rules to explain the SSI instructions. After explanation, remove the client along with the general html.
shtml
Using SSI (Server Side Include) html file extension, SSI (Server Side Include), commonly known as "server-side embedding" or "server-side inclusion", is a server-based web page production technology similar to ASP.
How SSI works:
Before sending content to the browser, you can use the Server Side Inclusion (SSI) command to include text, graphics, or application information into a web page. For example, you can use SSI to include a time/date stamp, a copyright notice, or a form for the customer to fill out and return. Using include files is an easy way to use text or graphics that appear repeatedly in multiple files. Save the content into a containing file without having to enter the content into all files. The include file can be called through a very simple statement, which instructs the Web server to insert the content into the appropriate web page. And, when using include files, all changes to the content can be done in one place.
Because files containing SSI directives require special processing, all SSI files must be given SSI file extensions. The default extensions are .stm, .shtml and
The web server processes SSI instructions while processing web pages. When the web server encounters an SSI instruction, directly insert the content containing the file into the HTML web page. If the "Include File" contains the SSI directive, then insert the file at the same time. In addition to basic instructions for containing files, you can also use the SSI instructions to insert relevant information about the file (such as the size of the file) or run an application or shell command.
One problem that website maintenance often encounters is that the structure of the website is fixed, but in order to update a little content, a large number of web pages have to be redone. SSI provides a simple and effective way to solve this problem. It puts the basic structure of a website in several simple HTML files (templates). All we have to do in the future is to pass the text to the server, and let the program automatically generate web pages according to the template, thus making it easy to manage large websites.
Therefore, the purpose of using SHTML format is similar to ASP, but because it is an API, it runs faster, is more efficient, is faster than ASP, and is slower than HTML. However, since it can be included on the server side, it makes it easier to update the page (especially batch update banners, copyrights, etc.). Imagine that you have an HTML paragraph that needs to intersperse some special server-side scripts in the middle, such as inserting other HTML paragraphs. You choose ASP to complete this task, but if the task is more heavy, it takes more time, such as 5 s. At this time, you don’t use ASP but SHTML, and perhaps the processing time is only 4 s.
xhtml:
HTML is a basic WEB web design language. XHTML is an XML-based markup language. It looks somewhat similar to HTML, with only some small but important differences. XHTML is an XML that plays a role similar to HTML. Therefore, essentially, XHTML is a transition technology that combines the powerful functions of XML (some of them) and the simple features of HTML (mostly).
At the end of 2000, the International W3C (World Wide Web Consortium) organization announced the release of XHTML version 1.0. XHTML 1.0 is a new language optimized and improved on HTML 4.0, with the purpose of being based on XML applications. XHTML is an enhanced HTML, and its scalability and flexibility will adapt to the needs of future network applications. Below are common basic questions about XHTML answered by Steven Pemberton, chairman of the W3C's HTML Working Group.
(1) XHTML solves the problems that seriously restrict its development in the HTML language. There are three main disadvantages of HTML development today: it cannot adapt to the needs of more network devices and applications now, such as mobile phones, PDAs, and information appliances, which cannot directly display HTML; because the HTML code is not standardized and bloated, the browser needs to be smart and huge enough to display HTML correctly; the data and performance are mixed, so that if your page changes its display, you must re-create HTML. Therefore, HTML needs to develop to solve this problem, so W3C formulated XHTML, which is a bridge from HTML to XML.
(2) XML is the trend of web development, so people are eager to join the XML trend. XHTML is the current standard to replace HTML4 markup language. Using XHTML 1.0, as long as you carefully abide by some simple rules, you can design pages that are suitable for both the XML system and most current HTML browsers. This means that you can design XML immediately without waiting until people use XML-enabled browsers. This guideline allows a smooth transition to XML for the web.
(3) Another advantage of using XHTML is that it is very strict. The current bad situation of HTML on the Internet is shocking. Early browsers accepted private HTML tags, so people had to use various browsers to detect the page after the page design was completed to see if it was compatible. There are often many inexplicable differences, and people had to modify the design to adapt to different browsers.
(4) XHTML can interact well with other XML-based markup languages, applications and protocols.
(5) XHTML is part of the Web Standards family and can be used well in other user agents such as wireless devices.
(6) In terms of website design, XHTML can help you get rid of the bad habit of presenting code and help you develop the habit of mark verification to test page work.