The .htm and .html file extensions are functionally identical.
All web browsers and web servers interpret both extensions as HTML.
When a URL lacks a specified filename at the end (e.g., “https://www.code7schools.com/“), the server typically appends a default filename like “index.html”, “index.htm”, “default.html”, or “default.htm”.
If your server is set up to recognize only “index.html” as the default filename, your file should be named “index.html” rather than “default.html”.
However, servers often allow configuration with multiple default filenames, giving you the flexibility to set up as many as needed.