isp

.htm vrs .html
Menu

Fri Nov 21 2008

Web-Mastery Webmaster Forum

Fri Nov 21 2008

Home

.htm vrs .html


I dont't think it makes a difference at all. But, I would use the same on for your whole site. And make sure that all of your links point to the proper file extention e.g. if you have a page called 'info.html' and you are having a link link to that, then make sure that it is <a href="info.html">Whatever</a> instead of <a href="info.htm">Whatever</a>. I always use .html, not .htm. But it is up to you. Hope that helps. :)


good answer by freddy. just use a "naming convention" and stick to it. mostly thats for your own sanity. just a guess but i think linux webmasters use .html and windows webmasters use .htm


Yes. And incase you don't know, you want your home page to be called index.html/htm.


I always use .html it just makes scence (sence? sense? scense? sense...?)since the language is called HTML.... ^-^ i wish there was only one extension, that way i wouldn't confuzle myself. Too late now.


LOL yea me too.


Ok now Im confused again...my home page right now is index.htm ....I need to make it index.html/htm?


actually the home page can be whatever the server configuration manager made it. almost all will support: index.html, index.html, default.html or default.htm sites like web-mastery are all in .php and have .php extensions, even though they display as .html


Right, yea I just ment it has to be index(or default or whatever) just as long as the file extension is the proper one. Yea.


In plain English you can use whichever extension you like. Just when you choose index.htm for example, make sure the rest of you pages end with .htm.


[quote:3b18de4644="edwin"]actually the home page can be whatever the server configuration manager made it. almost all will support: index.html, index.html, default.html or default.htm sites like web-mastery are all in .php and have .php extensions, even though they display as .html[/quote:3b18de4644] (edit: being a newbie, I'm not sure how to make the apparent links below just plain text. I'm really not trying to link to anything here.) Suppose I correctly register a domain (let's call it www.mydomain.com). Are you saying that if someone types "www.mydomain.com" in a browser address field, the only pages the browser will "know" to look for are www.mydomain.com/index.htm, www.mydomain.com/index.html, www.mydomain.com/default.htm, and www.mydomain.com/default.html? I guess my question is "how imporant is it that I use index.html, index.htm, default.html, or default.htm, as opposed to something custom like myhomepage.htm or myhomepage.html?" Thanks!


it makes no difference. the default page is actually referred to as / so using a link back to the main page you can use "http://www.yourdomain.com/"" and you can get to the page. you can just refer to the main page as "/" in any of your links from other pages. the only time the page name matters is for search engines. search engines, in particular google, place an emphasis on the page names. but i wouldn't give much thought to the main page name. i just always call it index.html

Most Popular Stories
Broadband ISP