Continuing the discussion from Made a video on Test 17 to share with everyone I know:
index.html is the default, just a convention, for a website. So when you go to any URL that doesn’t specify a particular file, the browser defaults to look for index.html at the location specified and loads that. Actually it’s the web server that does this, loads the default and returns the HTML it contains to the browser, but the effect is the same.
On the clearnet, web browsers don’t know the name of the default file being loaded by the server, and so don’t show it in the address bar. But Maidsafe have decided to make this visible because they do know it (there being no server - this work is done slightly differently).
So to learn more, read about HTML, try searching “html tutorial” or “creating a website using HTML” - there are lots of intro and tutorial websites for that and I don’t know which are the best these days.
For now, you need to create “static HTML” so ignore anything that generates HTML using server side processing, so called “dynamic HTML websites” (eg server side scripts, PHP). For dynamic websites, the Web server generates the HTML when you access the website rather than just loading it from a static file, so with no servers on SAFEnetwork, the HTML has to be stored in a file rather than created dynamically.
Most websites consist of many files, but the starting point, the home page loaded when you visit a domain that doesn’t specify a particular file, will be the default which is index.html
Here’s a really trivial example you can save to “index.html” and load in any browser, or even upload to Safenetwork and publish as a safe:// website:
<html>
<body>
<h1>A Big Heading </h1>
<p>A very short paragraph
</p>
</body>
</html>