I should still save files as .HTM or just as .HTML

4

Although the two are interpreted equally by Browser, it seems to me that the extension .HTM has fallen into disuse. Should I still save my files as .HTM or should I always opt for .HTML?

It seems that in the early days the files were .html anyway, but because of Windows they were forced to move to .htm (by having only 3 digits in the extension), but currently I only see .html again.

I even tested the local server and put two index , one index.html and one index.htm , and to my surprise index.html had preference in both Wamp and Vertrigo. In other words, the .HTML file has a preference ... It also seems to me that some webservers do not get along with .htm

Then there was the doubt. Should we no longer save files like .HTM thinking about the longevity, maintainability, versatility and interaction of the application with other systems? Or can it leave as .HTM that "is quiet"?

    

asked by anonymous 08.02.2018 / 17:45

1 answer

1

There are no differences, you can use both .htm and .html. The preference is personal.

However, depending on the settings of your server, it may prefer to either page index index.htm or index.html or even both, such as index.php.

I'd rather use the long version, .html.

Source: link

    
12.09.2018 / 14:41