Click to See Complete Forum and Search --> : HTML vs. HTM


asantavicca
July 18th, 2007, 02:19 PM
I can't find any posts on this question, though I'm sure it's been discussed before.

Other than the letter "L" is there any difference between the way HTM and HTML pages are treated by the browser? Is there ANY other difference between the two? Any convention that says I should use one versus another in a given situation??

Thanks!

PeejAvery
July 18th, 2007, 02:22 PM
Absolutely no difference at all except that back in the day Microsoft liked .htm and Unix prefered the .html extension.

andreasblixt
July 18th, 2007, 02:30 PM
Absolutely no difference at all except that back in the day Microsoft liked .htm and Unix prefered the .html extension.

I'd like to add that .htm is the inferior extension, and would recommend you use .html as that's the most common and logical one to use.

asantavicca
July 18th, 2007, 02:31 PM
Yeah, I tried googling the topic and basically came up with things like "older systems like Windows 3.1 didn't like the 4-character extensions so they used .htm". I just wondered if there was any technical difference.

I guess even if there WAS, there no longer is.

asantavicca
July 18th, 2007, 02:32 PM
I'd like to add that .htm is the inferior extension, and would recommend you use .html as that's the most common and logical one to use.


How is it inferior??

andreasblixt
July 18th, 2007, 02:46 PM
It's less common, basically. Functionally, it's the same (if this ever changes in the future, it'll be html prevailing, not htm, however).

PeejAvery
July 18th, 2007, 02:51 PM
I would not say that is is inferior, just not as common anymore.

asantavicca
July 18th, 2007, 02:53 PM
sounds good to me....thanks!

andreasblixt
July 18th, 2007, 02:56 PM
I guess the common interpretation of "inferior" is that it works worse, but I meant htm is not used as much as html, nor is it as logical to use (it's a cut off acronym simply because old Microsoft operating systems didn't use more than 3 characters in extensions).

dglienna
July 18th, 2007, 03:15 PM
Although HTML opens in the default browser, while some HTM files pop open IE!

PeejAvery
July 18th, 2007, 03:33 PM
That is just because not all file association preferences are always changed.

HanneSThEGreaT
July 19th, 2007, 03:02 AM
I'm going to throw a spanner in the works asantavicca :)

MAybe not as on topic, but still hopefully interesting for you.

Ever heared of the .HTA extension (http://msdn2.microsoft.com/en-us/library/ms536496.aspx) ¿

PeejAvery
July 19th, 2007, 08:03 AM
Ah yes, the wonderful HTML Application. In my opinion...truly a waste of Microsoft's time.

HanneSThEGreaT
July 19th, 2007, 08:41 AM
First, sorry for hijacking this thread a bit, so forgive me.

What was the whole reasoning behind creating this capability for web pages ¿

PeejAvery
July 19th, 2007, 09:21 AM
HTA was introduced with IE4 and was given full application rights without browser constraint. M$ apparently believed that it would be great for update software across the web as well as other code executions. They then realized that it was stupid and a huge security vulnerability. To my knowledge, unless almost crippling IE7 security, it is no longer supported.