Possible Duplicate:
.htm vs .html
What is the difference between .html and .htm file extension in a Basic Web Page?
Possible Duplicate:
.htm vs .html
What is the difference between .html and .htm file extension in a Basic Web Page?
There is none. HTM is the shorted version invented by microsoft for their old 8+3 file format, where each file could have only 8 characters in the filename and three in the extension.
None. I believe .htm
to exist only due to the MS DOS limitation of 3 characters for file extension, which then propagated as a bad habit to early windows versions and programs.
Whether a URL refers to an HTML page or not depends on the server's content-type not on its file extension. For instance htpp://www.google.com/ returns HTML even though no .htm or .html can be seen. You could even configure your web server to make this URL: http://my.server.com/foo.jpg return HTML instead of a JPEG image. As far as URLs are concerned file extensions do not have any meaning.
Basically, None.
.htm
used to be normal when the length of the extension was important (in the days of 8.3 letter filenames) but that has not been an issue for a long time and .html
is more common today since it is more descriptive.
So far as the web is concerned, you can use any extension you like or none at all (so long as the server is configured to send the right mime-type) - the extension is only an issue on your local computer.