htm vs html
What is the technical difference between htm and html extensions?
Member • Aug 21, 2009
#-Link-Snipped-#Now as you and me know .htm and .html are both same so I can use .htm also at the end right?So now try this url -same as above just changing .html at the end with .htm
#-Link-Snipped-#But as server's default filename processing is such that it so not consider .htm and .html files same so it don't give desired page when I click on second modified url.
Member • Aug 22, 2009
Member • Aug 22, 2009
Member • Aug 23, 2009
Hi ce_neha,ce_nehaThanks sookie,
But i don't understand why browsers refer them as 2 different files?
Why two extensions are provided for saving a document?
When the Web started, it ran almost exclusively on <a href="https://computer.howstuffworks.com/question246.htm" target="_blank" rel="nofollow noopener noreferrer">What is Linux and why is it so popular? | HowStuffWorks</a> machines and all pages were static. Html was the standard file extension. When people started using <a href="https://computer.howstuffworks.com/pc.htm" target="_blank" rel="nofollow noopener noreferrer">How PCs Work | HowStuffWorks</a> running DOS or Windows as <a href="https://computer.howstuffworks.com/web-server.htm" target="_blank" rel="nofollow noopener noreferrer">How Web Servers Work | HowStuffWorks</a>, however, the four letters in "html" were problematic. PCs followed an 8.3 naming convention that allowed only three letters in the extension. So the world made room for two standard extensions: html and htm. It used to be that you could tell whether a Web site was running on UNIX or Windows by looking at the file extension, but now there is no distinction. HowStuffWorks runs off a UNIX server but uses "htm" as its extension -- it's the webmaster's choice.Addendum: Chek following two links -one ending with .html amd other ending with .htm
#-Link-Snipped-#and
#-Link-Snipped-#Both the above links give same output unlike the behavior of the links I mentioned in my pevious post.
Member • Aug 23, 2009
Member • Aug 23, 2009
hi Munguti,MungutiOkay so they are the same. i understand that.
My question is why then do we have both of them? why not use one extension and stick to it?
Member • Aug 24, 2009