www.webdeveloper.com
Results 1 to 4 of 4

Thread: I have a question about the extention you save things as

  1. #1
    Join Date
    Dec 2002
    Posts
    1

    I have a question about the extention you save things as

    I have noticed that some diffrent page has extentions like .htm or .shtml and I wondered what they do that. Is there any advantade to these extentions?

  2. #2
    Join Date
    Nov 2002
    Posts
    631
    A normal HTML page would have an extension of .html or .htm . When a site has an extension like .asp, .shtml, .jhtml, etc., it usually means that certain programming languages are used with the site. I am not sure exactly which ones but I think that's what they mean.

  3. #3
    Join Date
    Nov 2002
    Posts
    984
    The webserver that sends you the files will have a list of different ".etensions" which helps it send the correct mimetype for the requested file.

    .htm & .html is normally sent as text/html
    .txt as text/plain

    etc etc.

  4. #4
    Join Date
    Nov 2002
    Location
    XYZZY - UK
    Posts
    1,760
    It also depends upon how the server is configured, take for example the W3C http://www.w3.org/ most of their main pages are actually written with PHP but they configure to browser to have *.htm files parsed through PHP *.php so still have *.htm an extension for output.
    Last edited by Robert Wellock; 12-05-2002 at 09:41 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles