html or htm?
Hi
Does it make any difference if you name an HTML page .htm or .html.I notice my server finds index.html before index.htm. Is it good practice to use one before the other? I think dreamweaver automatically uses .htm.
Cheers
Hi
Does it make any difference if you name an HTML page .htm or .html.I notice my server finds index.html before index.htm. Is it good practice to use one before the other? I think dreamweaver automatically uses .htm.
Cheers
aka Rohan posted this at 13:21 — 5th March 2007.
He has: 200 posts
Joined: Feb 2006
Ultimately no it doesn't, and for the most part is merely a matter of convention. It's mostly down to preference.
.htm was introduced Microsoft to follow the standard 3 character extension sets (.wmv, .mp3, .bmp e.t.c.) although .html was around before that. I would say however that 9 out of 10 people would use .html and I would agree... for a start .htm makes me think of Frontpage
Certainly if your server is configured to read .html first then I would use .html although I always do anyway.
This blog brings up the same topic and the comments cover a good range of views.
ACJavascripts posted this at 04:05 — 7th March 2007.
He has: 11 posts
Joined: Feb 2007
.html all the way!!! No, I don't have facts to back it up - I just hat frontpage haha
ChrisL posted this at 10:37 — 29th March 2007.
They have: 68 posts
Joined: Dec 2005
Cheers for that!
jesse1 posted this at 13:04 — 2nd April 2007.
They have: 26 posts
Joined: Mar 2007
don't think it matters at all. You are probably asking for SEO purposes right?
well search engines index both the same as far as I know.
PHP I think gets indexed equally too.
The only issues I know that might cause an issue are dynamically generated pages from databases that use urls to populate information on the webpage.
I could be wrong though.
Free HTML, Dreamweaver, & FrontPage Video Tutorials
http://www.Resource-Website.com
FREE WEBSITE TRAFFIC from YouTube
http://www.TubeTraffic.com
webchat posted this at 01:36 — 6th April 2007.
They have: 15 posts
Joined: Apr 2007
Here's a little something I put in my .htaccess files...
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .xml .js
What it does is allow me to write all my PHP in HTML files (oh and I can use PHP in XML and Javascript too) - I suspect that search engines *might* treat a PHP page differently to HTML - so I ALWAYS use HTML.
sofy60 posted this at 21:34 — 4th April 2007.
They have: 16 posts
Joined: Jan 2004
I always do one or the other but consistent to insure less confusion
ChadR posted this at 12:14 — 6th April 2007.
They have: 43 posts
Joined: Mar 2007
As everyone has commented it doesn't matter. I think most people think of .html so if you tell someone go to mydomain.com/Get-Offers.htm they might inadvertently go to mydomain.com/Get-Offers.html because of common practice.
The Best User Driven Poker Site, where you can find Poker Games in your area and get the latest Poker Strategy.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.