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

Asked

Viewed 541 times

4

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

It seems that in the early days the files were . html even, but because of Windows were forced to pass to . htm (for having only 3 digits in the extension), but currently only see . html again.

I even ran a test on the local server and put two index, one index.html and another index.htm, and to my surprise the index.html had preference in both Wamp and Vertrigo. That is the file . HTML has preference... I also think that some webservers do not get along with . htm

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

OBS: Still remember that Dreamwever at the time of Macromidia had by default save in . htm

  • 1

    You still use the HTM extension?! This was a limitation of DOS, the correct was always HTML (the web emerged in UNIX environment, which always supported extensions of any size).

  • @bfavaretto always worked in Windows environment and until little time saw enough thing . htm, including most software still give the option to save directly to . htm, so why not... Then I was in doubt, even though it seemed like something basic

  • The index preference if it is html, php, htm is configured on the server itself, no? in Apache for example has <IfModule dir_module>&#xA; DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml&#xA;</IfModule>

  • Nice @Johndoe see that in your example you still have the . htm, but it seems that you have Rvers who don’t even accept it as a valid extension anymore. I didn’t know how to manage this hierarchy within the server.

1 answer

1


Browser other questions tagged

You are not signed in. Login or sign up in order to post.