Help - Search - Members
Full Version: .HTML and .HTM difference
Piriform Forums > Computer Help and Discussion > The Lounge
TheFiresInTheSky
whats the difference of
example.html
and
example.htm
?
medab_1
One has an L.
One has no L.

It goes back to the 8/3 file names.
Either will work.
Some site providers like Angelfire require your home page to use .html.
TheFiresInTheSky
8/3 file names?
and if either will work, why didnt they just leave it htm?
TwistedMetal
Because using just 1 extension name wouldn't work. That would be too simple, that's not the way the world works.
medab_1
QUOTE(neighberaaron @ Jul 8 2006, 06:27 PM) [snapback]42594[/snapback]

8/3 file names?
and if either will work, why didnt they just leave it htm?


Long ago in the land of DOS & Windows 3.whatever,computers had such limited memory,it was decreed that file names should consist of 8 characters to the left of the DOT & 3 characters to the right of the DOT.

That has changed.
Now file names can be bigger.
It is just a legacy from the past.
TheFiresInTheSky
makes more sense, thanks!
Eldmannen
Ya, with DOS and Windows 3.x series, the filenames was in 8.3 format. 8 characters for the name of the file, and a dot and an addiotional 3 characters for the file extension. The file extension couldnt be any longer than 3 characters.
Still today most file extensions are 3 letter long, and .html was shortened to .htm
But nowadays, most websites use .html

Then Windows 95 came and the problem was no longer, because it has LFN (Long FileName support). Unix-like system's have had long filename support forever though, I think.

So technically there is no difference, its two extensions, but its the same file and they get parsed and processed in the same way. You can use whichever of them you like, I did a Google search with filetype: and .html was more widely in use than .htm
Andavari
Yeah Windows 9x implemented LFN, however there's still an MS-DOS filename attached to longer filenames so that they can be accessed in MS-DOS mode on the OSes.

For example:
Windows: C:\Program Files\CCleaner\CCleaner.exe
MS-DOS: C:\Progra~1\CCleaner\CCleaner.exe

Strangely some programs that have an autostart parameter in the Run section of the registry still utilize the MS-DOS short name.
burtman
QUOTE(Andavari @ Jul 9 2006, 11:51 AM) [snapback]42645[/snapback]

Strangely some programs that have an autostart parameter in the Run section of the registry still utilize the MS-DOS short name.


Redundancy, I guess.
Making sure their software will work with older machines.
Although I doubt games like Doom would use squiggles wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.