The difference between html and htm. The most common suffixes of web pages are html and htm. These are the two most basic formats of
on web pages.
Why are there files in two formats: html and htm?
htm is derived from the old 8.3 file format. The DOS operating system can only support names with a three-digit suffix
, so it is htm, but under Windows, there is no difference between HTML and HTM. HTML is named for the format of long text
files, so htm exists to be compatible with the past DOS command format. There is no difference in effect
. The previous htm and html As a text file on different servers,
but now universal.
What is the 8.3 file format?
This is a short file format in the old win95 or win98 file system. The extension is limited to
3 characters and the file name is limited to 8 characters. If you are interacting with a 16-bit system, for example, if you want to pass a
path to a 16-bit program, you cannot use the long file name and must convert it.
For example, you cannot open C:Documents and Settingsyy.txt under DOS
but you can open it like this: C:Docume~1xy.txt
On a FAT disk Only the 8.3 file format is supported in DOS. If you want to use it in this environment, you should pay attention to the problem of this file format. Under NTFS, this file format can be used by default. 🎜>
Long file names are also supported. You can also cancel support for the 8.3 file formatby adjusting the registry.