Click to See Complete Forum and Search --> : I have a question about the extention you save things as


Sarbar
12-04-2002, 05:44 PM
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?

Zach Elfers
12-04-2002, 05:53 PM
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.

Stefan
12-04-2002, 08:50 PM
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.

Robert Wellock
12-05-2002, 08:38 AM
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.