diffrence between .htm and .html

Discussion in 'HTML & Website Design' started by cscott5288, Apr 7, 2008.

  1. #1
    ive been told many things, but i do know that they both work but need to be specified as seperate

    anyone know the origin of this?
    im guessing one guy at w3 didn't just screw up
     
    cscott5288, Apr 7, 2008 IP
    usasportstraining likes this.
  2. flippers.be

    flippers.be Peon

    Messages:
    432
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no difference as far as I know.. just depends how your webserver is set up to handle file extensions
     
    flippers.be, Apr 7, 2008 IP
    usasportstraining likes this.
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    They are identical.... the reason they both exist is a historic thing where one operating system (cannot remember which off hand) was only able to handle 3 letter file extensions hence why .htm exists
     
    AstarothSolutions, Apr 7, 2008 IP
    usasportstraining likes this.
  4. veolive

    veolive Peon

    Messages:
    581
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The obvious answer is in the spelling. There is an L or lack thereof. Other than that small difference, the two documents types are exactly the same. Both types may be used the same (on most host servers) and both will be rendered the same in browsers.
    You should use HTM instead of HTML or vice versa... That depends on your preference. What looks better to you...
     
    veolive, Apr 7, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If I recall correctly, it was Windows 3.1 that had that problem.
     
    Dan Schulz, Apr 7, 2008 IP
    usasportstraining likes this.
  6. PowerExtreme

    PowerExtreme Banned

    Messages:
    2,118
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    0
    #6
    both are same and act same. the reason it exist is coz of compatibilty issues
     
    PowerExtreme, Apr 7, 2008 IP
  7. GameOver

    GameOver Well-Known Member

    Messages:
    1,307
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    140
    #7
    There is no difference between the two although I prefer .html for some reason. In fact, in my newest website, I am using .shtml so I can use SSI's. In other words, it doesn't matter what extension you have on your pages. My advice would be to stop worrying about issues like this and site down and write some quality content for your visitors,
     
    GameOver, Apr 7, 2008 IP
  8. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It does matter what extension you have, or more accurately it matters on how you have your webserver set up to serve each extention.

    You can have your server set up to have .sfas to go through the PHP framework but it must be configured as such.
     
    AstarothSolutions, Apr 7, 2008 IP