How should I name my web pages? .htm or .html?

There is no difference between .htm and .html pages. The server will recognize both of these file extensions. For consistency, you should name all of your web pages as .htm only or .html only.

In terms of your website's home page, the .html extension will have priority over the .htm extension.  This means that if you have an "index.html" and an "index.htm" file on your website, visitors will be defaulted to "index.html" when they visit your domain.

Article Details

Last Updated
23rd of December, 2014

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Remove from favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions

No users have voted.

How would you rate this answer?

Thank you for rating this answer.