post your comment   print   send to a friend
Rate:  75% | Views: 522
Question categories:  Shared Hosting

is there any difference between htm and html?

"htm" and "html" are two different extensions of files containing Hyper Text Markup Language (HTML) code.

The "htm" file extension was introduced on machines running Operating Systems, which unlike UNIX didn't support filename extensions longer than 3 letters. Those Operating Systems (CP/M, DOS, and MS Windows 3.x) were tied to filenames in the format 8.3, which means 8 letters followed by a dot followed by 3 letters.

Aplus.Net's servers will recognize files ending in ".html" or ".htm" as HTML files and identify them as such to the client.

Additional information:

htm is sometimes used as a short form of the file name suffix for an HTML file. For example, the file for our definition of computer might be named "computer.htm" instead of "computer.html". The main advantage is that it's one character shorter. The disadvantage is that it's not quite as easy to recognize as an HTML file. Prior to wide-spread use of Windows 95 and later systems, there was another reason to prefer the three-character suffix rather than the four-character. Certain operating systems, such as Windows 3.1 and OS/2 used the original DOS operating system naming conventions, in which names were limited to eight characters and suffixes to three characters. So it was safer to create file names and suffixes that met this "8.3" limitation. (For example, if you created an HTML page coding hypertext links to your other pages based on a four-character suffix (".html") system and then moved that page to a Web server that only allowed a three-character suffix, your file name suffixes would all be shortened and your links would no longer work. And if you created links with the three-character suffix and moved it to a server that always required four-character suffixes for HTML files, you would be in trouble again.)
Today, most people are likely to create HTML pages and serve them from are all operating systems (such as Windows 95/98/NT, Mac OS, and UNIX-based systems) that support longer file names and suffixes. So if you were building a new Web site, you would most likely use the four-character html suffix for clarity (unless you preferred the brevity of the three-character suffix) because you could know that you could safely use either suffix - as long as the suffixes in your links and your file names matched.

However, if you have an existing Web site that started out using the three-character suffix, you may prefer to leave everything as it is. If you do move to a server that requires a four-character suffix for server consistency, you could do a search-and-replace at that time.

Customer Feedback
Rate:  75% | Views: 522 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Dedicated Server | Domain Names    Back to serch results
Browse the Base
Knowledge Base
Shared Hosting
  Legacy Hosting Plans
  Unix Plans
  NT Plans
  Email
  SSL
  Fiberia
Messages
 

$75 Free Google AdWords

Free $75 Google AdWords when you sign up for WebImage! Target by location, create your own, or let Google create your ads for you. Check out http://www.aplus.net/google.html to see how AdWords works for you.

Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. What does the Archive Manager tool do?
 
2. How can I archive a directory from my web-hosting?
 
3. What is the use of the File Manager tool?
 
4. What is the meaning of Owner, Group and Everyone in the permissions panel?
 
5. How to Redirect URL?
 
Related Articles
 

Choosing your web design, domain name and web hosting.Web Hosting ...

Add-On Domains, Parked Domains and Sub-Domains.Web Hosting ...

Shared or dedicated hosting for your website.Web Hosting ...

An ecommerce guide for web hosting providers.Web Hosting ...

Shared Or Dedicated Web Hosting Is Right For You?.Web Hosting ...

Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest