English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am using dreamweaver to create some pages and it seems that some pages are .html and some are .htm.

Please explain if there are any differences, how they matter and how to specifiy dreamweaver which type of file to save the page as.

2007-11-29 05:14:36 · 7 answers · asked by Anonymous in Computers & Internet Programming & Design

7 answers

On almost any Web server, there is no difference between .htm and .html as a file extension.

File extensions are important to Web servers so they know how to process the file and what to send to the Web browser after processing. In almost every default Web server configuration, both .html and .htm tells the Web server, "send the text of this file to the browser with a header indicating its content type is text/html."

Dreamweaver uses .html and .htm depending on the preferences you can set under the Edit --> Preferences menu.

In earlier times, Windows could only handle 3-letter file extensions, which explains why older versions of Dreamweaver for Windows defaults to that file extension in its preferences.

2007-11-29 05:28:23 · answer #1 · answered by Anonymous · 0 0

No difference. Its just kind of out of habit back in the days of DOS you could only have 3 letters as the extention (like exe, or dll) so thats what htm gets cut short. But now days it doesn't matter so some people put html and some put htm. I'm surprised DreamWeaver does both.

2007-11-29 05:23:50 · answer #2 · answered by Anonymous · 0 0

No difference, except that some servers, like Yahoo! for example, REQUIRE that you name them .html, and some don't.

Really, case is, you have to set up a file deep and dark within the server controls to tell it which of the two to use (or both)...

But in the past, I've just learned to use .htm unless the hosting company demands otherwise, because I'm a lazy sort and it saves me the effort of typing the extra "l".

2007-11-29 05:29:04 · answer #3 · answered by fjpoblam 7 · 0 0

No difference. HTML is used now a days mostly. HTM was used in old times because some OS at that time couldn't support file extension names larger than 3 characters such as DOS. Nowadays both are used but whatever you use you should be consistent in your approach.

2007-11-29 05:27:28 · answer #4 · answered by Anonymous · 1 0

yeah there is its right in front of you one ends in an "L" and one ends in an "m" htm was used in the old days, but today you usually see html instead. they both work still

2016-05-26 22:02:45 · answer #5 · answered by ? 3 · 0 0

Nothing at all. Keep consistency with the naming conventions of your pages though.

2007-11-29 05:25:16 · answer #6 · answered by Dirty Randy 6 · 0 0

No

2007-11-29 06:17:25 · answer #7 · answered by zion_wingmaster 1 · 0 0

fedest.com, questions and answers