Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-06-2007, 07:56 PM .htm or .html?
Novice Talker

Posts: 13
Trades: 0
When I create new pages it ask me to choose between the two. What are the differences, if any.
Nexrus is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2007, 08:01 PM Re: .htm or .html?
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
One has one more letter.

Most servers are configured for each to be the default when a directory is specified. For instance if your site is www.example.com/ and someone types that in the browser, index.htm or index.html would be displayed automatically.
joder is offline
Reply With Quote
View Public Profile
 
Old 11-07-2007, 01:46 AM Re: .htm or .html?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
In the past Windows could only handle 3 characters in the extension which is why pages would use .htm. That's no longer the case so you see .html

If I had to choose I would go with .html because it's more common now, but I don't think it makes a different. Either should still work.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 11-07-2007, 08:18 AM Re: .htm or .html?
Experienced Talker

Posts: 39
Name: Martin
Trades: 0
Don't think it really makes a difference i use .html because im used to it . and most hosts are compatible with both .htm and .html
__________________

Please login or register to view this content. Registration is FREE
Martin101 is offline
Reply With Quote
View Public Profile
 
Old 11-07-2007, 02:40 PM Re: .htm or .html?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It makes no difference at all. I use .htm because I'm lazy.. one less character to type
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-07-2007, 03:30 PM Re: .htm or .html?
Experienced Talker

Posts: 39
Name: Martin
Trades: 0
Oh my :P 1 char less :P
__________________

Please login or register to view this content. Registration is FREE
Martin101 is offline
Reply With Quote
View Public Profile
 
Old 11-08-2007, 11:57 AM Re: .htm or .html?
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
on my dedicated server, .html takes preferance over .htm (although no one at Fasthost can actually tell me why...)
I use .htm to make pages so .html makes a good "coming soon page"
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 11-08-2007, 06:06 PM Re: .htm or .html?
TehChat's Avatar
Skilled Talker

Posts: 52
Trades: 0
What is the difference between the HTM and HTML extensions?

Short Answer

Other then the obvious, the letter "L," there's not much of a difference between the two extensions. Most, if not all, web browsers and servers will treat a file with an HTM extension exactly as it would a file with an HTML extension, and vice versa.
Long Answer

Practical Differences

Practically speaking, there is no difference between the two extensions. Both denote that the file contains HTML. This is really a matter of convention and is not an absolute, but most realize that a file whose extension is htm or html contains HTML.
On most, if not all, servers either file will be sent with a MIME type of text/html by default. This can usually be changed by the server's administrator(s), but is, more often then not, left alone.
On most, if not all, browsers, either file will be displayed as intended (i.e. rendered according to the browser's default manner of displaying HTML documents). This last is due more to the MIME type sent by the server then by the file's extension, but that's a matter for another FAQ.
Generally, the use of htm over html, or vice versa, is left to the author's personal preferences.
Technical Differences

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.
Default Filenames

The one situation in which there may be a difference between the two extensions is that of a server's default filenames. When a URL that does not specify a filename is requested from a server, such as http://www.domain.dom/dirname/, the server returns a file from the requested URL that matches a default filename. Examples of common default filenames include "index.html," "index.htm," "welcome.html," "welcome.htm," "default.html," "default.htm," etc. However, an administrator can make the server's default filename anything he/she so desires.
In the case of a default file, the author's filename must be exactly the same as the server's default filename. In other words, if your server is configured to use "index.html" as the default filename, your file must be named "index.html" and not "index.htm."
Note that servers are often configured with more then one default filename. Check with your server administrator or ISP for details about your specific server.


Source : http://www.sightspecific.com/~mosh/WWW_FAQ/ext.html
__________________
$5 Sponsored Link Advertising at
Please login or register to view this content. Registration is FREE

$20 banner Advertising at
Please login or register to view this content. Registration is FREE
TehChat is offline
Reply With Quote
View Public Profile
 
Old 11-13-2007, 01:36 PM Re: .htm or .html?
navyfalcon's Avatar
Average Talker

Posts: 19
Trades: 0
back in the days of DOS and windows 3.1 you could have only 3 letters in a file extension and a maximum of 11 characters, including extension.
Since then with the advent of windows 95 and above, this limitation was removed and extensions have more characters, hence HTM (old) and HTML (new) and HTML is considered the preferred but no actual difference.
Sometimes the sqving of one character is important so HTM.
hope this helps
falcon
navyfalcon is offline
Reply With Quote
View Public Profile Visit navyfalcon's homepage!
 
Old 11-14-2007, 06:09 AM Re: .htm or .html?
Junior Talker

Posts: 2
Trades: 0
Quote:
Originally Posted by TehChat View Post
Note that servers are often configured with more then one default filename. Check with your server administrator or ISP for details about your specific server.
I think that's really the main thing that most people need to know - that and the "priority" in which the multiple default filenames are given by the server.

On my servers the default page can be index.html, index.htm, or index.php, and in that order.

So for example, if I had the two files index.html and index.php both in the main folder, the default page visitors will see when they go to the domain will be index.html. If I delete index.html, then they will see index.php as the default instead.
digtalbeing is offline
Reply With Quote
View Public Profile
 
Old 11-14-2007, 10:31 AM Re: .htm or .html?
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
Quote:
Originally Posted by navyfalcon View Post
back in the days of DOS and windows 3.1 you could have only 3 letters in a file extension and a maximum of 11 characters, including extension.
that brings back memories
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 11-14-2007, 10:46 AM Re: .htm or .html?
kalseo's Avatar
Experienced Talker

Posts: 38
Name: Kaloyan Banev
Location: Pattaya, Thailand
Trades: 0
I think it really doesn't matter, validation is more important.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kalseo is offline
Reply With Quote
View Public Profile Visit kalseo's homepage!
 
Old 11-14-2007, 11:01 AM Re: .htm or .html?
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
Further more to my post further up the page, any ideas why index.htm just lands at an apache holding page?? I can only see my sites if I use .html or .php for the fist page
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 11-14-2007, 03:18 PM Re: .htm or .html?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
probably index.htm is not in the DirectoryIndex document list
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-17-2007, 05:26 PM Re: .htm or .html?
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
I think that most important thing is that whichever extension you use, you use the same one for all pages in your site.
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 11-23-2007, 03:25 AM Re: .htm or .html?
Novice Talker

Posts: 10
Name: Patrick
Trades: 0
Personally, I prefer html, it's more common, and you create webpage to be view by others, it's better to stick to the 'norm'.
webtalk-pro is offline
Reply With Quote
View Public Profile
 
Old 11-26-2007, 04:17 AM Re: .htm or .html?
Harlequin's Avatar
Extreme Talker

Posts: 166
Name: Mick
Location: Tenerife
Trades: 0
I haven't used a HTM or HTML extension for quite some time. I use PHP as it parses HTML anyway. However, you do need to be using a PHP enabled server.

What advantages does this give me...?

Well, for example, I develop a static page, pure HTML. I can dynamically generate things like today's date, which date the search engine should come back and which date the page expires.

It just makes life a little easier.
Harlequin is offline
Reply With Quote
View Public Profile Visit Harlequin's homepage!
 
Old 11-26-2007, 04:58 AM Re: .htm or .html?
Super Talker

Posts: 144
Trades: 0
Quote:
Originally Posted by serandfae View Post
I think that most important thing is that whichever extension you use, you use the same one for all pages in your site.
I agree, otherwise you will end up with many broken links. I prefer .html though.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
AHelpingHand is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to .htm or .html?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.58096 seconds with 12 queries