|
|
|
|
![]() ![]() |
Apr 20 2006, 08:32 AM
Post
#1
|
|
|
Member [ Level 1 ] 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 |
|
|
|
Apr 20 2006, 09:23 AM
Post
#2
|
|
|
Nenad Bozidarevic Group: [MODERATOR] Posts: 1,043 Joined: 7-November 05 From: Belgrade, Serbia Member No.: 9,500 myCENTs:38.31 |
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.
|
|
|
|
Apr 20 2006, 10:54 AM
Post
#3
|
|
|
PESTICIDAL MANIAC 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 |
|
|
|
Apr 20 2006, 12:03 PM
Post
#4
|
|
|
S.P.A.M.S.W.A.T. 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.
|
|
|
|
Apr 20 2006, 12:39 PM
Post
#5
|
|
|
Super Member 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.
|
|
|
|
Apr 21 2006, 11:44 AM
Post
#6
|
|
|
PESTICIDAL MANIAC Group: Members Posts: 626 Joined: 1-September 04 From: Auckland, New Zealand Member No.: 27 |
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 |
|
|
|
Apr 21 2006, 03:29 PM
Post
#7
|
|
|
Newbie [ Level 2 ] 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 |
|
|
|
Apr 23 2006, 03:48 PM
Post
#8
|
|
|
the Q Group: [HOSTED] Posts: 1,094 Joined: 13-July 05 From: Lithuania, Vilnius Member No.: 7,059 myCENTs:70.96 |
As said mastercomputers, everyone should use .html and as it is already explained way I thin I won't repeat it.
Never used frontpage, but as I understand it still saves the files with the three letters extension .htm ? |
|
|
|
Apr 23 2006, 07:33 PM
Post
#9
|
|
|
Colonel Panic Group: [MODERATOR] Posts: 2,847 Joined: 25-March 05 From: Toronto, Ontario, Canada Member No.: 3,233 myCENTs:31.07 |
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 |
|
|
|
Apr 23 2006, 07:49 PM
Post
#10
|
|
|
Premium Member 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?
|
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 20th November 2008 - 10:54 PM |