Home > Web Front-end > HTML Tutorial > The difference between htm, html and shtml web pages

The difference between htm, html and shtml web pages

云罗郡主
Release: 2018-10-10 16:11:01
forward
3976 people have browsed it


What are htm, html, shtml? Are htm, html and shtml the same? I believe that many friends who have just come into contact with html will have such questions. The following summarizes for you the differences between htm, html, and shtml web pages.

The difference between htm, html and shtml web pages

What is the difference between htm, html and shtml? Next let’s understand the differences between htm, shtml, and html.

First of all, htm, html, and shtml are all suffixes for static web pages. It can also be said that all three are just different extensions. Everything else is the same, they are all static web pages.

Htm and html are completely static web pages that are directly sent to the browser for reading without being compiled and interpreted by the server, except for Htm and html pseudo-static Requests.

html, htm, shtml, and shtm are all static html web pages. They are all html web page extensions with different web file suffixes.

For more related tutorials, please visit: http://www.php.cn/course/list/11.html

1. Html and htm

.html and .htm are both static web page suffixes. There is no difference or distinction between web page files. The web suffixes of html and htm suffixes are interchangeable, and they are completely different for web pages. There is no impact and no difference at the same time. It can be considered that there is no essential difference between html and htm. The only difference is one more "L" or one less "L".

2. Shtml and shtm

In the web page file named shtml, some instructions of ssi are used, just like the instructions in asp, you can use them in the SHTML file Write SSI instructions. When the client accesses these shtml files, the server will read and interpret these SHTML files and interpret the SSI instructions contained in the SHTML files.

There is no difference between the web page files with shtml and shtm suffixes. The suffix names are interchangeable. The difference is that there are as many or as few "L"s as html and htm.

3. The difference between Html and shtml

Both are essentially static web pages. HTML is purely static. The client browser reads the HTML file and displays it. What content is given to the viewer. Shtml can use SSI. This is the charm of shtml ssi include.

The usage form of other SSI commands is basically the same as the example just now. It can be seen that SSI usage only requires inserting a little code, and the usage form is very simple.

The above is all about the differences between htm, html, and shtml web pages. I believe you already have an understanding of htm, html, and shtml. If you want morehtml Tutorial, please pay attention to php Chinese website.

The above is the detailed content of The difference between htm, html and shtml web pages. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:divcss5.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template