Index.html - blank page?

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
Message
Author
Spiritfilledrev
500 Command not understood
Posts: 1
Joined: 2012-05-15 12:24
First name: Nuno
Last name: Filipe

Index.html - blank page?

#1 Post by Spiritfilledrev » 2012-05-15 12:38

Hi everyone,

Complete newb to fillezilla/web design.

I was asked to place a "under maintenance" page on a website ( to which I have ftp acess )
So I made a nice under construction layout in Fireworks and saved it as index.html, and uploaded via Filezilla, clared cache and then checked the website, but the main page just comes out fully white, only with the name of the "gif" on the tab.

Anyone?! :? what am I doing wrong?!

thanks

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: Index.html - blank page?

#2 Post by boco » 2012-05-15 17:45

Did you upload the GIF along with the HTML?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Webdev

Re: Index.html - blank page?

#3 Post by Webdev » 2012-09-22 08:20

Of course. Fireworks is an Image maker. So creating an image you saved it as .gif since you are stating a blank .gif appeared. What you should do is simple. Open Notepad and type the following:

Code: Select all

<!Doctype HTML>
<head><title>Title Here</title>
<body><img src="/images/image.gif"></body>
</html>
image.gif is the image you made in Fireworks, if you saved as .png you should put image.png instead of image.gif

Title Here is the Title which appears on top of your browser. Example like in this page it will be "Index.html - blank page?"

That's pretty all for the very "basicest" page ;)

friv10games
500 Command not understood
Posts: 2
Joined: 2012-07-20 08:36
First name: Dao
Last name: Uyen

Re: Index.html - blank page?

#4 Post by friv10games » 2012-10-05 09:09

Nice information :)

Pavel
500 Command not understood
Posts: 1
Joined: 2012-10-11 16:31
First name: Jurgen
Last name: Green

Re: Index.html - blank page?

#5 Post by Pavel » 2012-10-11 16:33

Do you always need to have an Index.html page to initialise your website?

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: Index.html - blank page?

#6 Post by boco » 2012-10-11 16:44

It's index.html (lowercase i). That's a commonly used name for the index document. There are others in use, like index.htm, index.php, default.htm(l), start.htm(l). But in the end, your hosting provider can use anything they like via a server directive. It should be in their FAQ.

Note you do not absolutely need it, but for any other document you would have to specify its name in the URL. Only the index document is found automatically by the browser.

Without index document and without specification of a document name, you will get an index listing (listing of all files) of that directory, or, if index listings are forbidden, a 403 Forbidden error.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply