Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>The short answer</strong></p> <p>There is none. They are exactly the same.</p> <p><strong>The long answer</strong></p> <p>Both .htm and .html are exactly the same and will work in the same way. The choice is down to personal preference, providing you’re consistent with your file naming you won’t have a problem with either.</p> <p>Depending on the configuration of the web server, one of the file types will take precedence over the other. This should not be an issue since it’s unlikely that you’ll have both index.htm and index.html sitting in the same folder.</p> <p>We always use the shorter .htm for our file names since file extensions are typically 3 characters long.</p> <p><strong>AND MORE ON: <a href="http://www.sightspecific.com/~mosh/WWW_FAQ/ext.html" rel="noreferrer">http://www.sightspecific.com/~mosh/WWW_FAQ/ext.html</a> or <a href="http://www.sightspecific.com/~mosh/WWW_FAQ/ext.htm" rel="noreferrer">http://www.sightspecific.com/~mosh/WWW_FAQ/ext.htm</a></strong></p> <p><strong>i think i should add this part here:</strong> <br/> i guess there is one single slight difference btw .html and .html files! consider a path in your server like: <strong>mydomain.com/myfolder</strong> if you create an <strong>index.htm</strong> file inside that folder and you open that like this:<strong>mydomain.com/myfolder/</strong> it will goes crazy and split out your files as it is in your server,<img src="https://i.stack.imgur.com/MSWhR.png" alt="enter image description here"> <br> but if you create an <strong>index.html</strong> file in there and open that directory in your browser, it will loads that file <strong>i tested this on my vps and i endup with this answer</strong> but maybe you could somehow set your server to loads index.htm files as default. but i guess the .html file is absolutely default file type for browsers to open in each directory!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload