Question · HTML and CSS course · Module 11: Developer Tools

The index.html file

Why must the main page of a project be named index.html?

Answer options

  • It's a requirement of the operating system
  • The server automatically looks for index.html as the default page
  • HTML does not allow other file names
  • Browsers refuse to open files with other names

You can check the correct answer by solving this task in the CodeWorlds game.