Solved

Whats the diff. between .htm and .html

Posted on 1999-01-24
11
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1845611
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
ID: 1845612
Thanks. I'll give you the points if you want them.
0
 
LVL 4

Expert Comment

by:chewymon
ID: 1845613
The only thing to be careful about is that some servers require the index page to be html, all others can be either.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

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

Author Comment

by:tyroneb
ID: 1845615
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
 

Accepted Solution

by:
netwiz15 earned 20 total points
ID: 1845616
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
ID: 1845617
martinag- Maybe you should bring this thread to Linda's attention.
0
 
LVL 4

Expert Comment

by:martinag
ID: 1845618
Why?

Martin
0
 
LVL 4

Expert Comment

by:chewymon
ID: 1845619
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
ID: 1845620
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
ID: 1845621
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sending ASP to server side 8 42
Anyone familiar with PhotoSwipe? 3 40
CSS - Centering an image 2 47
Pass a js value to an html form 5 42
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

739 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