html vs htm

  • balloon
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Oct 01, 2004
  • Posts: 9
  • Status: Offline

Post October 10th, 2004, 7:21 am

Can you please tell me what is the difference between an html file and an htm file?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 10th, 2004, 7:21 am

  • mtracerz
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 08, 2004
  • Posts: 129
  • Loc: Scotland
  • Status: Offline

Post October 10th, 2004, 7:33 am

I think they are the same thing, just something to do with different things reading them. I could be wrong though, let someone in the know tell you
  • uknightuss
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Sep 15, 2004
  • Posts: 198
  • Loc: Los Angeles
  • Status: Offline

Post October 10th, 2004, 7:41 am

I am not one who is "in the know", but I do know how to use google.

Searched for "htm vs. html"

Found this answer within the first few links.


I hope that is actually correct information and that it helps you.
  • gsv2com
  • Professor
  • Professor
  • User avatar
  • Joined: Jan 25, 2004
  • Posts: 776
  • Loc: Nippon
  • Status: Offline

Post October 10th, 2004, 9:38 am

html is one letter longer than htm. period. it really doesn't matter which method you like.
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1853
  • Status: Offline

Post October 10th, 2004, 10:35 am

You could name a file with a .htm, .html, .rob, .kook, .foo, .bar, .page, or a .artypay extension; it does not matter.

uknightuss's link does have accurate information, or I would hope so, because I was the last person to edit that.
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 10, 2004
  • Posts: 2194
  • Loc: Canada
  • Status: Offline

Post October 10th, 2004, 11:49 am

You can't name it anything. I'd suggest sticking to extensions that aren't already associated with most peoples machines (ie. .swf, .exe, .txt).
  • noddynoodle
  • Student
  • Student
  • User avatar
  • Joined: Oct 04, 2004
  • Posts: 75
  • Loc: Haxxorland, Norway
  • Status: Offline

Post October 10th, 2004, 12:48 pm

It's excactly the same. Just like .jpeg and .jpg...
  • Sumen
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jun 10, 2004
  • Posts: 421
  • Loc: Rochester or Albany, NY
  • Status: Offline

Post October 10th, 2004, 2:49 pm

A bit ago I wrote a script which you gave a url and it would take whatever file the url was and write it into server space with a .bmp extension. if the file requested was a html file, it ended up displaying the html code rather then having an error reading the image. If it was another type of extension it would have that read error.
So, I guess you have a lot of freedom with this sort of thing...
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1853
  • Status: Offline

Post October 10th, 2004, 6:45 pm

neksus wrote:
You can't name it anything. I'd suggest sticking to extensions that aren't already associated with most peoples machines (ie. .swf, .exe, .txt).


I would suggest that too, but it doesn't mean you can't. File name is unimportant to browsers (that work), if the correct Content-Type header is sent out. Only the content-type header matters. IE excepted -- it tries to figure out the contents of files by looking inside the file, in some cases. This has caused some security vulnerabilities in the browser.
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 10, 2004
  • Posts: 2194
  • Loc: Canada
  • Status: Offline

Post October 10th, 2004, 7:19 pm

How many people actually use content type headers...
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1853
  • Status: Offline

Post October 10th, 2004, 7:24 pm

People? It's a matter of what browsers do.
  • cjxxi
  • Expert
  • Expert
  • No Avatar
  • Joined: Aug 02, 2004
  • Posts: 564
  • Loc: Fort Worth, TX
  • Status: Offline

Post October 10th, 2004, 8:56 pm

I use to name my pages with .lteam extention and they work fine!

But I would suggest to name'em by their very own extention.

I just wanted to be original! but you can do anything you want really!



:wink:




:smilecolros:

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 151 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.