File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Difference between Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Difference between ".htm" and ".html" Watch "Difference between ".htm" and ".html" New topic

Difference between ".htm" and ".html

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Can any one tell me what is the difference between ".htm" and ".html" file.
Joel Cochran
Ranch Hand

Joined: Mar 23, 2001
Posts: 301
They both function the exact same.

Wait a minute, I'm trying to think of something clever to say...<p>Joel
Michael Greifenkamp

Joined: Jul 02, 2001
Posts: 7
.htm goes back to the days when PCs were forced to use the 8.3 DOS naming convention (eight characters, then a period, then a 3 letter extension).
But yes, for all intents and purposes, they do the exact same thing.
seema sheikh

Joined: Jan 10, 2004
Posts: 1
All of these files types are just HTML (HyperText Markup Language) code. A .HTM and a .HTML file are identical, simply different extensions. They do the exact same thing, but most people try to stick to .HTML because this is the way is was originally intended. The .HTM extension was used for operating systems like Windows 3.x that did not support long file names.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
seema sheikh welcome to the ranch,
Please check the date of the post. The post was made over 3 years ago asking this question. Everything you said in your post was said in the 3 posts above it.
I agree. Here's the link:
subject: Difference between ".htm" and ".html
It's not a secret anymore!