Forum Moderators: open

Message Too Old, No Replies

HTM vs HTML - Which is better?

So which is it?

         

EmDub

7:04 pm on Mar 7, 2003 (gmt 0)

10+ Year Member



I've heard that Google likes .html better than .php files. But the real question is this--does Google (and the other SEs) like .htm or .html extensions better? I'm building a new site, so I'd like to get it right the first time. Thanks!

Michael

gph

10:21 pm on Mar 7, 2003 (gmt 0)

10+ Year Member



AFAIK MS introduced htm in an attempt to standardize file extension character lengths. The benefits of standards are obvious. The use of it is entirely up to you.

chiyo

5:00 am on Mar 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Fair enough gph, will take your word for it.

When the web first started every user using MS OSs based on DOS (and a few more too i think) HAD to use htm. No use using standards if the great majority of developers couldnt use them due to something as fundamental as limited character lengths in the development level OS. AFAIK, the first windows OS that used longer extensions was Win 95 (or NT?) which came around many years after the WWW. I do realise that unix users were not as limited, but fact is that most web designers used the Windows platform, as it was so available to people who didnt have access directly to servers and only ran websites on desktops and then ftp'd to the server.

Brett_Tabke

5:46 am on Mar 8, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



htm is shorter. So... saves bandwidth, and typing - less chance for typose and errors.

MJR

7:25 am on Mar 8, 2003 (gmt 0)

10+ Year Member



HTM is an old Microsoft thing. Pick up your copy of MS FP 97 through 2002 and it generates HTM by default. HTML take precedence on most servers, that is to say if you have an index.htm and index.html your site will default to the index.HTML page ignoring the index.HTM page. Correct me if I'm wrong, but as memory serves the HTML extention has been around longer.

g1smd

8:33 pm on Mar 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The .html extension has been around the longest, coming from the days when most of the web ran on Unix systems. When PCs running DOS came along, they had a 3 character limitation for the extension, so the .htm extension became more widely used.

However, it would still have been possible for the PC people using DOS and Windows 3.11 to have continued using the .html extension, because every FTP program ever made has a facility built into it for renaming the file once it has been uploaded to the host computer. Not a lot of people knew that. Many still don't.

The later versions of Windows, from 95 onwards, allowed long filenames to be used, so now there is a complete mixture as to which extension is used.

dhdweb

5:48 pm on Mar 9, 2003 (gmt 0)

10+ Year Member



index is index is index no matter what the extension is!

It could be index.abc as long as you server knows .abc to be a valid extension.

What I am getting at is this:

index.html
index.htm
index.asp
index.jsp
index.php
index.cgi
etc.

are all the same as far as search engines are concerned as long as the output is <html> format!

dhdweb

chiyo

6:53 pm on Mar 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks. I stand corrected on what came first!

EliteWeb

7:07 pm on Mar 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



chiyo, see I was told HTM extension came after HTML because the hard core developers were so upset of it containing the L because it was not a language compared to the others and it didnt deserve the L in the name ;)

Yes .htm is short but I always use html, i used it to start with and use .shtml often so i like to keep it either with the s or just plain ;)

Kimberly

7:07 pm on Mar 9, 2003 (gmt 0)

10+ Year Member



Why use a big one when a dimunitive one will do?

g1smd

10:55 pm on Mar 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



No extension is better then another, hence Google being able to index and rank:

.html
.htm
.shtml

(never see .shtm anywhere?)
.php
.cfm
.pdf
.asp
.cgi

etc, etc, etc.

kyr01

11:05 pm on Mar 9, 2003 (gmt 0)

10+ Year Member



.php=3 digits
.asp=3 digits
.pdf=3 digits
.cgi=3 digits
.htm=3 digits, why more?

P.S.
I would use .ht, just like .pl, to make it even shorter!

nebuhost

4:02 am on Apr 23, 2003 (gmt 0)

10+ Year Member



I believe that .html looks infinitely more professional than .htm.

.htm makes me think the page was made with FrontPage.

jim_w

7:06 am on Apr 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



g1smd

Remember when the best browser was MOSIC from U of I and Explorer wasn’t even in beta yet?

I’ll bet if a survey was done it would indicate that everyone using and liking html is older than people using htm.

because every FTP program ever made has a facility built into it for renaming the file once it has been uploaded to the host computer.

And that was the only way to do it yesteryear when using MS or PC DOS. I remember when I was learning HTML, most of the good resources was on Gopher and came from universities.

Is Gopher finally dead? I could not get any gopher://gopher. to work.

[labs.google.com...]
[directory.google.com...]

PS google has some dead Gopher links, which is why I said I couldn’t get any to work. Or is it Explorer? MS doesn’t have a Gopher tool.

chiyo

9:16 am on Apr 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>everyone using and liking html is older than people using htm<<

Well if i was in their sample, I would invalidate your results straight away!

I always use htm and have been writing html pages since 1994, well before Front Page was even thought of, using mosaic as my main browser. Its more to do with the platform that you initially used to design. As a windows user, only 3 letter extensions were possible, and ever since ive seem no practical reason to change. All our youngish trendy part timers want to immediately start using html when they start, but that causes leagacy problems with changing all old url's and confusing the design or editorial team when they create links in new content back to old. (now was that URL htm or html?)

Now if you used unix as your operating system for design, or started later when Windows upgraded to Win95, then of course you would use html, so its got nothing to do with being a greyhair!

ShawnR

1:22 pm on Apr 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, since this thread has 44 posts in it, I thought I'd make it an even 45. I don't really have much to add, though, as IMHO the question was answered by post # 2 ;)

Not saying that posts 3 to 44 don't make for fascinating, interesting and informative reading, mind you; particularly the bits which clear up some of the 'old wives tales' like php being disliked by SEs.

I wonder if there is a record for the number of posts in a thread... Could try and aim for it... ;)

Now, if we were discussing a real weighty topic like "Should it be web.domain.com instead of www.domain.com?", then I'd have a lot to say!

jim_w

5:58 pm on Apr 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



chiyo

I’ll bet if a survey was done it …
I always use htm and have been writing html pages since 1994 …

Well, now you know why I don’t play any lottery.

Now if you used unix as your operating system for design, or started later when Windows upgraded to Win95, then of course you would use html, so its got nothing to do with being a greyhair!

Actually I was using DEC OS. I was doing it before 95, however, when 95 came out, (I was also using NT on DEC ‘s Alpha RISC machine before Compaq purchased it), and I could use .html on a Windows box, and I did so I wouldn’t have to rename the ftp uploads and because of using DEC OS. Perhaps it is just a personal thing based on ones experience and length of service in IT, et al.

[denial]Gray? Those aren’t gray, those are blond.[/denial]

This 46 message thread spans 2 pages: 46