Each web page or web page has its own fixed suffix name. Different suffix names correspond to different file formats and different rules, protocols, and usages. The most common suffix names of web pages are .html and .htm, but these are only the two most basic file formats of web pages. Today we will introduce some other file formats of web pages.
First, let’s introduce html and html
Regarding html, html (hypertextmark-uplanguage) is the hypertext markup language, which is the description language of www. The purpose of designing the HTML language is to easily associate text or graphics stored in one computer with text or graphics in another computer to form an organic whole, without considering whether the specific information is on the current computer or on other computers on the Internet. We just need to use the mouse to click an icon in a certain document, and the Internet will immediately go to the content related to this icon, and this information may be stored in another computer on the network. html text is a descriptive text composed of html commands. The html command can describe text, graphics, animations, sounds, tables, links, etc. The structure of the html includes two parts: head and body, where the head describes the information required by the browser, and the body contains the specific content to be explained.
Regarding html, in fact, there is no essential difference between html and html. It is just to satisfy that dos can only recognize file names of 8+3. Because some old systems (win32) cannot recognize four-bit file names, some web servers require that the last l of index.html cannot be omitted. msie can automatically recognize and open these files, but when writing web page addresses, it must be completely corresponding, that is, index.htm and index.html are two different files, corresponding to different addresses. It is worth mentioning that the Unix system is case sensitive. If it does not match, it may report no files or the files cannot be found.
Next, let’s introduce shtml and stm
Regarding shtml, shtml is a file based on ssi technology, that is, server side includes -- ssi The server side contains instructions. If some web servers have ssi function, they will specially treat the shtml file. The server will scan the shtml file once and see that there is no special ssi command. If there is any, follow the web server setting rules to explain the ssi command. After the explanation is completed, call the client with the general html.
Regarding shtm, the relationship between shtm and shtml is roughly similar to the relationship between html and html, so I won’t talk about it here.
What is the relationship between html or html and shtml or shtml or shtml or stm?
html or htm is a static page format, which means that the server does not need to parse the scripts in it, or there are no scripts executed by the server side. Because shtml or shtm is based on SSI technology, when there are server-side executable scripts, it is regarded as a dynamic programming language, just like asp, jsp or php. When shtml or sTM does not contain server-side executable scripts, its function is the same as html or html.