1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

htm vs. html

Discussion in 'Black Hat SEO' started by nonai, Aug 6, 2014.

  1. nonai

    nonai Power Member

    Oct 10, 2013
    Likes Received:
    I have a domain which is to be used as part of a PBN. checking its pages in ahrefs, it looks like it used to have .htm pages
    I have never heard of .htm
    I always use .html

    If I download an html template, can I simply change the extension to .htm and use it as normal? Will there be any backend errors or any problems because I changed the extension?
  2. sashablack

    sashablack Elite Member

    Jan 8, 2010
    Likes Received:
    Short Answer

    Other than the obvious, the letter "L," there's not much of a difference between the two extensions. Most, if not all, web browsers and servers will treat a file with an HTM extension exactly as it would a file with an HTML extension, and vice versa.

    Long Answer

    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. "
    credit to:
    Hope that helped :)