This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Difference between ".htm" and ".html" Watch "Difference between ".htm" and ".html" New topic
Author

Difference between ".htm" and ".html

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi,
Can any one tell me what is the difference between ".htm" and ".html" file.
Regards
Bikash
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
Greenhorn

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
Greenhorn

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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.
Eric
 
Consider Paul's rocket mass heater.
 
subject: Difference between ".htm" and ".html
 
Similar Threads
HTML, DHTML and SHTML
What's main diff between HTML and XML
difference
get vs post
getting parameters from the URL