Welcome to TalkGraphics.com
Results 1 to 5 of 5

Thread: extensions

  1. #1

    Default

    Is there a difference between .htm and .html? Because i use dreamweaver and by default it saves everything as .htm
    cheers
    chuck
    IP

  2. #2

    Default

    Is there a difference between .htm and .html? Because i use dreamweaver and by default it saves everything as .htm
    cheers
    chuck
    IP

  3. #3
    Join Date
    Aug 2000
    Location
    Westbank, BC Canada
    Posts
    1,387

    Default

    Generally speaking, you'll usually be safest if you always make your "index" or "default" page extension ".htm". Your other pages can be html.

    I'm not going to go into a lot of detail on this right now - i'm working - but any problems you might have because of this would be server software based; nothing to do with browsers or visitor's operating systems.

    Check your preferences in DW. I believe you can tell it NOT to do this. Also... when creating a page/site and using any scripting at all, you may see DW do this if you've told it to be as backward compatible as possible.

    TIP: all browsers look for an "index" file first by default. MS browsers can also look for a file named "default". By i've seen this only rarely now adays. "Index" is usually used; i.e. "index.htm".
    This is what allows folks to NOT have to type the name of the first page of a Website in the url. By default, and for simplicity sake, the first page is usually named "index".

    Hope that helps.
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    NS Canada
    Posts
    212

    Default

    Hmm. Well yes and no, Mark. [img]/infopop/emoticons/icon_smile.gif[/img]

    If you happen to be on a IIS server you're correct, as the hierarchy goes : default.asp default.htm index.htm index.html.

    However, if you're on an Apache server it goes index.html, index.htm.

    FYI: the difference emanated from Win 3.1 days when DOS could only handle 8.3 filenames-8 letter name/3 letter extension(oh! how I remember those days!)

    FWIW: W3C has never advocated .htm

    cfn ... Jen
    Jen Worden
    Web Developer
    www.meadoworks.com
    cfn ... Jen

    Jen Worden
    Web Developer
    www.meadoworks.com
    IP

  5. #5

    Default

    so basically,
    having extensions that end in.htm won't affect anything? is that correct?
    cheers
    chuck
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •