Welcome Guest ( Log In | Register )



3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> HTM vs HTML: Whats The Difference ?
Rating 5 V
sandeep
post Apr 20 2006, 08:32 AM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 31
Joined: 16-April 06
Member No.: 12,789



hi friends,
Does anybody know the difference between .htm and .html files.
I am wondering why there are two extensions for the same type of files!!
Even some hosts make the index.htm as the home page and some do the other way. Isn't there any standard for making the home page. Some even use default.htm as home page. When the page with different extension is present then it gives a 404 (Page Not Found) Error.
Any light in that direction will be of much help.
Regards.

This post has been edited by sandeep: Apr 23 2006, 07:40 PM
Go to the top of the page
 
+Quote Post
pyost
post Apr 20 2006, 09:23 AM
Post #2


Nenad Bozidarevic
Group Icon

Group: [MODERATOR]
Posts: 1,013
Joined: 7-November 05
From: Belgrade, Serbia
Member No.: 9,500



I believe that it's the same as with *.jpg and *.jpeg. There are probably many examples, but I realy can't explain why it's like that. However, if you have an index.htm and index.html on you web server, one of them will have the advantage.
Go to the top of the page
 
+Quote Post
mastercomputers
post Apr 20 2006, 10:54 AM
Post #3


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



Always use .html, the three letter extension was due to Windows 8.3 filenaming convention used in DOS because it could not understand 4 letter extensions or long filenames. html is the proper extension and should always try to use this instead of htm.


Cheers,


MC
Go to the top of the page
 
+Quote Post
szupie
post Apr 20 2006, 12:03 PM
Post #4


S.P.A.M.S.W.A.T.
Group Icon

Group: Members
Posts: 814
Joined: 22-January 05
From: San Antonio, Texas (No, I'm not dumb. I just moved here...)
Member No.: 2,284



I thought there were also some UNIX systems that didn't understand extensions with over 3 letters? I didn't know it was Windows DOS's fault. I read some tutorials that told me to always use .htm because some web servers wouldn't accept the long version. And DOS systems probably wouldn't be used for web servers.
Go to the top of the page
 
+Quote Post
Houdini
post Apr 20 2006, 12:39 PM
Post #5


Super Member
Group Icon

Group: Members
Posts: 572
Joined: 25-April 05
From: Nashville Tennessee
Member No.: 4,340



The difference is 1 because HTML has 4 letters and HTM has 3 so 4-1 leaves the difference of 1. Actually as explained earlier by others because extensions used to be limited to three characters (this included email address) htm was used, but now html is better to use for two reason those systems that do understand four letter extensions can read it and those that can't will still display, but I don't think there are even any of those machines still around and if they are they are probably too slow to work properly.
Go to the top of the page
 
+Quote Post
mastercomputers
post Apr 21 2006, 11:44 AM
Post #6


PESTICIDAL MANIAC
Group Icon

Group: Members
Posts: 626
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



QUOTE(szupie @ Apr 21 2006, 12:03 AM) *

I thought there were also some UNIX systems that didn't understand extensions with over 3 letters? I didn't know it was Windows DOS's fault. I read some tutorials that told me to always use .htm because some web servers wouldn't accept the long version. And DOS systems probably wouldn't be used for web servers.


Unix never really used file extensions though but they also didn't have a problem with file extensions, they never limited how long a file extension could be.

It wasn't until Windows 95 that thousands of sites started appearing with .htm, though .htm existed, it was more apparent at this time (Windows 95 did not understand long filenames till later versions). All this due to FrontPage and because of the 3 letter extensions Windows always relied on.

There were DOS web servers around, just as Apache can run from just a console. The limitations of DOS however caused the extension problems, which case, everyone just decided to go that way, so that it'd work for more people, but now that things have moved on, and these limitations should not be around, I think it's time to actually go with the proper extension.


Cheers,


MC
Go to the top of the page
 
+Quote Post
IniX
post Apr 21 2006, 03:29 PM
Post #7


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 10
Joined: 21-April 06
Member No.: 12,906



Other then the obvious, the letter "L," there's not much of a difference between the two extensions. Most, if not all, web browsers and servers will treat a file with an HTM extension exactly as it would a file with an HTML extension, and vice versa.

This post has been edited by IniX: Apr 21 2006, 03:30 PM
Go to the top of the page
 
+Quote Post
Quatrux
post Apr 23 2006, 03:48 PM
Post #8


the Q
Group Icon

Group: [HOSTED]
Posts: 1,053
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059



As said mastercomputers, everyone should use .html and as it is already explained way I thin I won't repeat it. smile.gif because there is no such header as text/htm, just that text/html is being used on most of the browsers I know for html, html, shtml. When I see a website using .htm I think that the webmaster/s etc. are not professional there, htm should be avoided in my opinion. smile.gif

Never used frontpage, but as I understand it still saves the files with the three letters extension .htm ?
Go to the top of the page
 
+Quote Post
xboxrulz
post Apr 23 2006, 07:33 PM
Post #9


Colonel Panic
Group Icon

Group: [MODERATOR]
Posts: 2,790
Joined: 25-March 05
From: Toronto, Ontario, Canada
Member No.: 3,233



All modern web browsers will treat text/htm as text/html. It's the same. No one cares anymore. Usually people put .htm for lazy sake.

xboxrulz
Go to the top of the page
 
+Quote Post
kgd2006
post Apr 23 2006, 07:49 PM
Post #10


Premium Member
Group Icon

Group: [HOSTED]
Posts: 318
Joined: 1-March 06
Member No.: 11,638



Htm...is just a shorter way of writing HTML, but both are the same type of extention file name. But it is best that you use html because like many before me have said it is just a lazy way of writing the extension. And it can be that much more work to add an L at the end can it?
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Video Player(0)


 



- Lo-Fi Version Time is now: 12th October 2008 - 02:24 AM