Ezilon.com - Target Your Audience, be Seen in Your Region

Is .htm better than .html?

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

He has: 44 posts

Joined: May 2005

I'm buzzing about making my website bigger and building it up, occasionally I accidently make a html file than a htm file, I was thinking, maybe one is better than the other?
What do you guys think, htm or html? Or are they so similar it's not worth worrying about?

Cheers Sonic

"With the right training, anything is possible" Mark Andrews - Current Record holder for the deepest ocean dive on air and trimix using open circuit tech. (156m & 300m+)
Diving Lore

They have: 32 posts

Joined: Apr 2007

Sonic_Wolf;226598 wrote: I'm buzzing about making my website bigger and building it up, occasionally I accidently make a html file than a htm file, I was thinking, maybe one is better than the other?
What do you guys think, htm or html? Or are they so similar it's not worth worrying about?

Cheers Sonic

Doesn't matter...both the same. Microsoft "invented" the ".htm" when it was trying to coin the 3-letter extensions.

".html" is more popular around professionals.

Greg K's picture
Moderator

He has: 1,606 posts

Joined: Nov 2003

For the most part, I'd say it makes no difference to the site for the general person.

Now you get someone like me, and just from my past experience in all of this, I see .htm as more amateurish (sp?) than .html just because about 10+ years ago when I was starting out, "professional" sites seemed to mainly have .html while the "average joe" site used .htm (because of windows prior to Win95 only supporting 8.3 filename structure (8 characters for the name, 3 for the extention, .htm)

But as far as SEO rankings and such, shouldn't make one it of difference.

-Greg

[This space intentionally left blank]

Cool Geek Supplies: www.ThinkGeek.com

He has: 301 posts

Joined: May 2007

In general, the answers above are correct. However, there is one situation where it may be important to use one or t'other, and that is on your index or "home" page.

Depending on who hosts your site, the default page that comes up when a visitor omits the file name from the address may need a certain name. Or, more usually, a set of names. Some hosts require a file name of "index.htm" or "index.html" or "default.htm" and/or any number of others. As an example, my host allows "index. html" but "index.htm" does not work. Simply to be consistent, I name all my HTML files to end in HTML, but it's not really necessary.

YMMV.

On any platform, PC, Linux server, Windows server, whatever, the file type (the "dot - something") determines how it is treated. For example, the server I use will send a file ending ".XHTML" as, well, XHTML, not as HTML. For more on this, google "file MIME types."

Cordially, David
--
"Old web developers don't die, they degrade gracefully..."

Administrator

She has: 72 posts

Joined: Nov 2007

Hmm... vote for neither. I use Drupal's clean URLS and don't have any extension. Smiling

Michelle

The Coulee Region is ONLINE!
Check out my Drupal articles and tutorials.

Reece S's picture

He has: 169 posts

Joined: Oct 2007

Quote: from my past experience in all of this, I see .htm as more amateurish (sp?) than .html

Cheers Greg! Sad
Laughing out loud lol. JK, I use htm as it is less to type when homing in on a directory online, thats about the only difference i see myself.

He has: 44 posts

Joined: May 2005

Cool, thanks for the heads up guys Smiling

Roo's picture
Developer

She has: 830 posts

Joined: Apr 1999

Yeah waaaaaay back in 199something when I put up my first God awful site on my ISP space that I had back then, you had to use .htm for some strange reason.

Now IMO it's best to use .html because that is what most people are used to, so it will be easier for users to remember that they went to contact.html vs contact.htm for example.

They have: 6 posts

Joined: Oct 2007

both htm or html are same.

Suzanne's picture

She has: 5,512 posts

Joined: Feb 2000

Having no extension future proofs quite a bit (plus using a database reduces further issues with tinkering with files directly), but I like .html because it's so clear. For me, too, .htm just screams FRONTPAGE and MS and bad memories of buttons and backgrounds and embedded midi files. Laughing out loud