Hello,
Another newbie question. I just wanted to know what exactly is the difference between html and htm extensions we see for webpages. Are they same? and if so then why two extensions for the same purpose?
Thanks
Hello,
Another newbie question. I just wanted to know what exactly is the difference between html and htm extensions we see for webpages. Are they same? and if so then why two extensions for the same purpose?
Thanks
They are the same, but htm is used for file systems that expect 3 character file extensions. For historical reasons htm is often used on Windows systems. This follows the conventions established by the 8.3 naming restriction in the FAT file system, but there is no technical reason for a three character limit on modern file systems.
They're exactly the same. Originally, Unix based servers used html extensions and Microsoft IIS used htm, but now they're treated exactly the same.
They are the same.
HTM was used because some systems did not support 4-character extensions.
This is no longer true, and there is no longer any reason to use HTM.
The Web was originally designed by UNIX-centric people, for whom long filenames with arbitrarily long extensions were the norm.
MS-DOS and early versions of windows were limited to 8.3 filenames, so the extension .html was not possible. Microsoft users had to use .htm instead.
Nowadays, there is no reason to use .htm. Use .html in all cases.