Htm, html, xhtml, xml, xsl, dhtml, shtm and shtml, xsldhtml

Source: Internet
Author: User
Tags xsl

Htm, html, xhtml, xml, xsl, dhtml, shtm and shtml, xsldhtml

This section describes how to differentiate htm, html, xhtml, xml, and shtml. The following content is based on Baidu's knowledge.

Html and htm:

Hypertext Markup Language (HTML) is a www descriptive Language consisting of HTML commands and descriptive text. There is no Language executed by the server on the page. The last letter l of the delimiter cannot be omitted. Objects and index.htm are two different types of files, which correspond to different addresses (UNIX systems are case sensitive, so if they do not match, they may report no files or files cannot be found ).

XML, XSL, and XHTML:

The extended HyperText Markup Language (XHTML) extends The abbreviation of HyperText Markup Language (HyperText Markup Language). XML (Extended Markup Language) extends The Markup Language.

XML is designed to transmit and store data, rather than display data. It is a supplement to HTML and can be structured to process documents and data so that they can be exchanged between departments, customers, and suppliers, generate dynamic content;

The ability to convert XML data is powerful, but it is not suitable to directly use XML for millions of existing websites. Therefore, XHTML is introduced, which is based on HTML4.0, the XML rules are used to extend it and the XHTML is obtained. It can be considered that XHTML is the transition from HTML to XML, and the syntax requirements of XHTML are more rigorous. In addition, the combination of XHTML and CSS not only achieves the separation of style and content, but also organically combines the webpage code, in another separate file, you can also mix various XML applications (such as SVG ).

XSL is used to define the Document Style Language of XML. XSL enables the Web browser to change the representation of original documents. For example, to change the display sequence of data, it does not need to communicate with the server, the same document can be displayed larger, or folded to show only one layer outside. With its own scalability, XSL can control infinite tags, and the way it controls tags is infinite. This provides advanced Layout features for the Web, such as text rotation, multiple columns, and independent areas. It also supports international writing formats. You can use a combination of writing formats from left to right, right to left, and top to bottom on one page. The XSL standard is between the style semantics of CSS and SGMI documents and the standard language.

DHTML:

DHTML (Dynamic HTML) is a web page concept (a concept rather than a technology) relative to traditional static HTML. It is not a language, but HTML, one integration of CSS and client scripts is to integrate the existing web page technology and language standards to produce a Web page technical concept that can still change page elements in real time after download.

DHTML means that after a webpage is downloaded from a Web service, it does not need to be processed by the server. Instead, it dynamically updates the webpage content, version styles, and animations in the browser, allows web designers to create pages that can interact with users and contain dynamic content.

 

Differences between SHTML and HTML:

SHTML:An Embedded Server contains html text containing commands. before being transferred to the server, the server completely reads, analyzes, and modifies the SHTML document.

You can use the SSI command in the SHTML file to reference other html files. The files sent from the server to the client are interpreted as SHTML, without the SSI command. It implements functions not available in HTML, that is, dynamic SHTML is implemented.

SHTML is a file of SSI technology, that is, Server Side Include -- SSI Server contains commands, if the Web Server has the SSI function (especially the web Server Based on the Unix platform and the Netscape Enterprise Server Support SSI commands), The shtml file will be specially entertained, scan the shtml file to see if there are any special SSI commands. If there are any, interpret the SSI commands according to the rules set by the Web Server. After the explanation, the client is called together with the general html.

SHTML uses the SSI File Extension. SSI is usually called "server embedding" or "server inclusion". It is a server-based web page creation technology similar to ASP.

How SSI works: before sending content to a browser, you can use the "server inclusion" command to include text, graphics, or application information to a webpage, for example: you can use SSI to include the time, date stamp, copyright statement, or provide a form for the client to fill in and return. It is a simple method to use include files for text or graphics that appear repeatedly in multiple files, save the content to an included file. Instead of entering all files into the content. The inclusion file can be called through a very simple statement, which instructs the Web server to insert content into an appropriate webpage, all changes to the content can be completed in one place.

.

The Web server processes SSI commands while processing webpages. When the Web server encounters an SSI command, it directly inserts the content containing the file into the HTML webpage. If the file contains the SSI command, insert the file at the same time. In addition to the basic commands used to include files, you can also use the SSI command to insert information about files or run applications or shell commands.

Website maintenance often happens when the website structure is fixed, but a large number of pages have to be created to update the content. SSI provides a simple and effective method, it places the basic structure of a website into several simple HTML files (templates). What we need to do later is to upload the text to the server and allow the program to automatically generate webpages according to the template, it makes it easier to manage large websites.

Therefore, pages in the SHTML format are similar to those in ASP, but the API runs faster and is more efficient than ASP and is slower than HTML, therefore, it is easy to update pages (especially batch update banner and copyright ).

 

Html or htm is a static page format with no scripts executed by the server. Therefore, the server does not need to parse the scripts. shtml is based on SSI technology, when a server-side executable script is viewed as a dynamic programming language (such as PHP, JSP, and ASP; when shtml or shtm does not contain server-side executable scripts, it is the same as html or htm.

 

The above is a brief introduction. For more details, refer to the introduction of Baidu encyclopedia.

  

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.