top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

Difference between .htm and .html?

0 votes
Difference between .htm and .html?
posted Jul 30, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Practically speaking, there is no difference between the two extensions. Both denote that the file contains HTML. This is really a matter of convention and is not an absolute, but most realize that a file whose extension is htm or html contains HTML.

On most, if not all, servers either file will be sent with a MIME type of text/html by default. This can usually be changed by the server's administrator(s), but is, more often then not, left alone.

On most, if not all, browsers, either file will be displayed as intended (i.e. rendered according to the browser's default manner of displaying HTML documents). This last is due more to the MIME type sent by the server then by the file's extension, but that's a matter for another FAQ.

Generally, the use of htm over html, or vice versa, is left to the author's personal preferences.

answer Aug 4, 2014 by Rahul Singh
The only difference between HTML and HTM is of letter "L". Other than this there is no difference.
And yes server and web browser will treat both HTML and HTM as same.
Similar Questions
+2 votes

what is the Difference between id and name attributes in HTML?

0 votes

Sorry for simple question, need to clean some queryhome code.

Can someone help me to find out the difference between these three: onclick, onmouseover, onmouseout.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.