The difference between. htm. html. shtml

Source: Internet
Author: User

The difference between. htm. html. shtml

1. The. htm and. html do not differ in nature, representing the same file, but only for different environments.

2, DOS can only recognize 8+3 file name, so *.htm naming method can be DOS recognition, and *.html file naming mode cannot be recognized.

3. In UNIX systems, the Web page must use the. html extension, if it is an HTM, the source code appears when opened in the browser, and two extensions are supported in Windows. It can also be said that the HTM and HTML are the products of Windows and Unix confrontation.

4, if there is index.html and index.htm in the Web page, this is the browser will first explain index.html.

5. shtml is a file that is used for SSI (server-Side include, servers-side include) technology, a feature that the Web provides on the server, and is executed on the server side. In general, to complete a more complex task (such as: Chat room/message book, etc.), you must design a special CGI or ASP program, but if you just want to add simple features to the Web page (such as: Display a document, Web server environment variables, about the document update date/size, etc.), as long as SSI can be completed.

The difference between. htm. html. shtml

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.