login about faq

Due to the large amount of spam accounts, we temporarily disabled new user sign ups. To override this, email newuser.lgqa@gmail.com and an admin will determine if you are permitted to join


In C, there are headers: .h, and there are scripts: .c. But why is in in some things, like HTML, there are several endings? .htm, .html, etc.?

asked Oct 24 '10 at 19:45

HHBones's gravatar image

HHBones
4.1k6182118

Maybe it's a conspiracy!

(Oct 25 '10 at 17:34) HHBones HHBones's gravatar image

Actually I just learned this a few weeks ago: .htm is the newer version of .html

answered Oct 24 '10 at 20:11

boba0420's gravatar image

boba0420
4.4k5170120

I agree with boba0420

It is just throughout the passage of time.

Remember when 2003 word documents were in the .doc format? It can still be used in 2007 and 2010 office, but just an older way of doing it. The current one now being .docx

Same thing with Applications. There used to be two extensions: .com and .exe. Now we jsut have .exe

Or even (I dare say it) batch files. I believe in win95, they added the .cmd version along with the original .bat extension. Don't know if there was much of a difference, but who cares?

answered Oct 24 '10 at 20:41

James58321's gravatar image

James58321
(suspended)

from http://www.sightspecific.com/~mosh/WWW_FAQ/ext.html

Technically speaking there are few to no important differences. An obvious difference is the addition of the letter "L" in the html extension. The technical difference that the additional letter will make to the operating system is better left to a different discussion but in the context of a web author, the additional "L" will make no difference.

The technical difference that the additional letter will make to an http server (a "web server") is minimal. Usually, a server will use a file's extension to figure out what MIME type to send back to the requesting client. Most servers are configured by default to send back the text/html type when the requested file ends in an htm or html extension. This can be changed by the server's administrator(s) in such a way that one of the above extensions returns a different MIME type then the other, however, this is not a very common practice.

It is a common misconception that a file ending in an htm extension had to have been created on a DOS/Windows 3.x platform. This is because those operating environments limit filenames to a 3 letter extension. However, it is very simple to create a file with a 3 letter extension on most other platforms, as well. Even those that allow longer file extensions.

answered Oct 24 '10 at 20:48

kevin's gravatar image

kevin ♦♦
35.7k160316588

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×142
×117
×44
×21
×5

Asked: Oct 24 '10 at 19:45

Seen: 669 times

Last updated: Oct 25 '10 at 17:34