difference between .html and .htm

Discussion in 'HTML & Website Design' started by Arya Mandodi, Sep 14, 2010.

  1. #1
    Can anyone tell me the difference between .html and .htm???
     
    Arya Mandodi, Sep 14, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    .htm came about when Windows could not handle more than a 3 letter file name extension. *nix and the internet uses .html and so should you.
     
    drhowarddrfine, Sep 14, 2010 IP
  3. dragonbyte

    dragonbyte Peon

    Messages:
    98
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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.
     
    dragonbyte, Sep 14, 2010 IP
  4. DOCtriN

    DOCtriN Well-Known Member

    Messages:
    184
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #4
    For user there is no difference using .HTML or .HTM that just because the difference naming conversion
     
    DOCtriN, Sep 14, 2010 IP
  5. choydogs

    choydogs Peon

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    browsers will treat both the same way..
     
    choydogs, Sep 14, 2010 IP
  6. Arya Mandodi

    Arya Mandodi Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you very much for the reply:)
     
    Arya Mandodi, Sep 14, 2010 IP
  7. Sam Dillinger

    Sam Dillinger Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    it's the same as with *.jpg and *.jpeg. Always use .html, the three letter extension was due to Windows 8.3 filenaming convention used in DOS because it could not understand 4 letter extensions or long filenames. html is the proper extension and should always try to use this instead of htm. However, if you have an index.htm and index.html on you web server, one of them will have the advantage and most probably index.html as almost all host servers will require your default starting page to be named as "index.html" and not as "index.htm". Although, that will also vary depending on your host and their setup.
     
    Sam Dillinger, Sep 19, 2010 IP