Nov 21, 2009
Pages: 1, 2, 3

HTM vs HTML: Whats The Difference ?

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General > Misc. Programming Languages

HTM vs HTML: Whats The Difference ?

marion
QUOTE(sandeep @ Apr 20 2006, 05:32 AM) *

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.

 

 

 


Comment/Reply (w/o sign-up)

sparkx
I have always woundered that also. I never actually thought that there was an actual program diffrance between a .html and .htm Maby one is newer and can do more but so far I havn't found a diffrance yet. All the programs that can be run on HTML and also be run on HTM (as far as I can tell). It seam more logical to use HTM because its shorter but I will probably continue using HTML since everone uses it and Im used to typing it. I agree with everyone else, HTM is probably the lazy way to write HTML. A one letter diffance shouldn't matter unless you have to type it in a textbox with <input type="text" maxlength="25"... or something like that. Funny story I was one letter off of having a link on myspace if I would have known this I would have had that last >
Does anyone know the offical reason for this?
Thanks,
Sparkx

Comment/Reply (w/o sign-up)

FeedBacker
Difference between .htm and .html file extension
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

Comment/Reply (w/o sign-up)

(G)benivolent
PHP Web Development company
HTM vs HTML: Whats The Difference ?

Btw, the 3-character extension was a Windows only limitation. The web is based on Unix which has no such problem.

-reply by benivolent

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3

See Also,

*SIMILAR VIDEOS*
Searching Video's for htm, html
advertisement



HTM vs HTML: Whats The Difference ?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com