Btw, the 3-character extension was a Windows only limitation. The web is based on Unix which has no such problem.
-reply by benivolent
| |
|
Welcome to AstaHost - Dear Guest | |
Replying to HTM vs HTML: Whats The Difference ?
Topic Summary
Posted 12 October 2009 - 10:35 AM
Posted 08 April 2008 - 05:46 AM
HTM vs HTML: Whats The Difference ?
Replying to sandeep
Hi Sandeep
Web Brower does not see the file extension instead looking only the content of the file and gives an output according to the code
Functional wise there is no difference but why two extension are there?
1.The Operating systems like DOS and Windows 3.X does not allow to use 4 letters extension. Hence .Htm is used instead .Html
2.In some cases if the server created it's default directory for only supporting the .Html files then .Htm files cannot use on that server
Regards
Tamil
-reply by Tamilarasan
sparkx
Posted 02 February 2007 - 12:48 AM
Does anyone know the offical reason for this?
Thanks,
Sparkx
marion
Posted 01 February 2007 - 01:58 PM
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.
There really isnt much difference at all, except for one. Usually the main page of a website is called index. If thats the case, then it's usually a .html extension. I have my entire site stored in a folder(and subfolders) on this computer. The main site has one html file(the index), and the rest are htm. I also have 4 subfolders. 2 of them have entirely htm files and pic's. Another is all pics, and the other folder has its own index.html and some htm's. Other than that, it shouldnt really matter nowadays.
borlafu
Posted 12 November 2006 - 12:03 PM
HTML files are just plain text files, wich text follow some rules to accomplish the w3c recommendation for Hypertext Meta Language.
The 3 character extension is due to the 8.3 file name format on some old sistems like MSDOS
minnieadkins
Posted 05 September 2006 - 12:25 AM
I would also recommending .html, but its up to you. In my experience they are handled the same, but which does it load by default. If you have an index.htm, index.html, and index.php I guess it depends on ur server configuration. I know nothing of that =/.
BitShift
Posted 05 September 2006 - 12:05 AM
Even if it is on most sites if you type in the domain ( www.whatever.com ) half the time it wont even show you what file your on until you click on a link inside the website.
vujsa
Posted 21 July 2006 - 02:16 AM
To answer the actual question, there is no difference between the two extentions. I mean there is absolutely no difference between the two extentions. In case you didn't understand what I was trying to say, there is no difference between the two file extentions.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.
Having made my point abundantly clear, I do have something to add.
Even though there is no difference between the two file extentions since the one is JUST a shorter version of the other or maybe one is JUST a longer version of the other, the longer version is preferable by todays standards which don't really mean too much since the only standard for web design is that there isn't any real standards.
There have been attampts to define standards but the browsers don't care, the browser developers don't care, and the web site designers don't care. This is because making a webste conform to the standards does not mean that all web browsers will correctly display the content nor does it mean that your page will be looked upon more favorably by the search engines or page ranking robots. In fact, trying to make your web site conform to the standards may make it more difficult to make it appear more uniformly accross all of the web browsers available.
I recommend that you use .html but whatever you choose to use, be sure to always use the same extention. This will reduce the number of dead or broken links on your web site.
vujsa
Houdini
Posted 21 July 2006 - 01:46 AM
Emerald Green
Posted 20 July 2006 - 12:24 PM
It would depend on your web server's configuration. Apache, for instance, has a configuration directive:There is probably no right or wrong answer, but now im curious to put a index.htm and an index.html on my server and see which one is called wen you visit the main url
DirectoryIndex index.html index.htm index.php
With this configuration, Apache will first look for a file called index.html. If it can't find one, it will try to find index.htm. If it still can't find one, it tries index.php. But if they were in a different order, Apache would search for them in that order instead. I'd think most servers these days would have index.html before index.htm, but you never know.
As for .html vs .htm, who cares? I personally prefer .html, but I'm quite surprised at the number of people who consider .htm "not professional" and "lazy". It does exactly the same thing, so what's the problem? Most JPEG files are saved as .jpg, rather than .jpeg - is that unprofessional and lazy?



