Solved

Whats the diff. between .htm and .html

Posted on 1999-01-24
11
224 Views
Last Modified: 2010-04-09
I'm new to html and I've noticed that the pages I inherited have a .htm extension. Will they still work if I rename them to .html and what is the difference?
0
Comment
Question by:tyroneb
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 4

Expert Comment

by:martinag
Comment Utility
They'll, work.

HTML files are supposed to be named .html but since Windows3.1 can't handle more than three chars after the dot they are named .htm in Windows3.1.

The .htm has somehow become widely used in Windows95 and Unix worlds, probably because it's easier to name all files .htm than some .htm and some .html.

Martin
0
 

Author Comment

by:tyroneb
Comment Utility
Thanks. I'll give you the points if you want them.
0
 
LVL 4

Expert Comment

by:chewymon
Comment Utility
The only thing to be careful about is that some servers require the index page to be html, all others can be either.
0
 

Expert Comment

by:Extreme
Comment Utility
Also, i believe that the .htm is more widely accepted across browsers.
0
 

Author Comment

by:tyroneb
Comment Utility
Thank you all for the comments. I've tested the .html extension and it works fine for me. I'll be careful setting up the index page.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Accepted Solution

by:
netwiz15 earned 20 total points
Comment Utility
The reason is that Microsoft created windows3.11 as basically an "addon to dos" and so Windows/Dos could only handle 3 extension letters after the dot.. thus .htm
but then microsoft created/allowed for longer extensions so .html was started, I believe, in Windows95 or NT 4.0?
0
 
LVL 4

Expert Comment

by:chewymon
Comment Utility
martinag- Maybe you should bring this thread to Linda's attention.
0
 
LVL 4

Expert Comment

by:martinag
Comment Utility
Why?

Martin
0
 
LVL 4

Expert Comment

by:chewymon
Comment Utility
tyroneb offered you the points and then netwiz15 gave the same answer you did.  Apparently  tyroneb didn't notice the different name.  Linda has sent other experts who do this emails expressing disapproval and awarded points for the original answer.  Of course its up to you.  You don't seem to care about points much, but you might care about the behavior.
0
 
LVL 4

Expert Comment

by:martinag
Comment Utility
You could be right. I'll notify Linda and we'll see what she thinks about this.

Martin
0
 
LVL 7

Expert Comment

by:linda101698
Comment Utility
tyroneb,
For your future reference, when you go to grade a question, make sure that the proposed answer is by the expert you want to receive the points for your question.

If the proposed answer is not by the expert you want to receive the points, then choose the option below the question "Reject linda's proposed answer and reopen the question to other experts." and post a comment requesting that the expert you want to receive the points post an answer.

martinag,
Look for a question posted to award you points for your answer :)

Linda Gardner
Customer Service @ Experts Exchange

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now