html vs htm

  • balloon
  • Newbie
  • Newbie
  • balloon
  • Posts: 9

Post 3+ Months Ago

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

Post 3+ Months Ago

  • mtracerz
  • Graduate
  • Graduate
  • mtracerz
  • Posts: 129
  • Loc: Scotland

Post 3+ Months Ago

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
  • uknightuss
  • Posts: 196
  • Loc: Los Angeles

Post 3+ Months Ago

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
  • Posts: 776
  • Loc: Nippon

Post 3+ Months Ago

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

Post 3+ Months Ago

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
  • Posts: 2194
  • Loc: Canada

Post 3+ Months Ago

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
  • Posts: 75
  • Loc: Haxxorland, Norway

Post 3+ Months Ago

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

Post 3+ Months Ago

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
  • Posts: 1853

Post 3+ Months Ago

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
  • Posts: 2194
  • Loc: Canada

Post 3+ Months Ago

How many people actually use content type headers...
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 1853

Post 3+ Months Ago

People? It's a matter of what browsers do.
  • cjxxi
  • Expert
  • Expert
  • cjxxi
  • Posts: 565
  • Loc: Fort Worth, TX

Post 3+ Months Ago

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 109 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.