Log in

View Full Version : What is the index.html page?



hirephpexpert
09-01-2012, 05:19 AM
I want to know that what is the index.html page. In what purpose its use in website and what is benefit to use index.html in website.

borgninestallon
09-03-2012, 07:11 AM
I want to know that what is the index.html page. In what purpose its use in website and what is benefit to use index.html in website.

This article will help you in knowing more about index.html pages.
http://webdesign.about.com/od/beginningtutorials/f/index_html.htm

riya189
09-03-2012, 09:20 AM
Its your main page of your website. In other word you can say its home page.

bryanbell
09-03-2012, 09:40 AM
Index.html is the file name that should be given to your web page for accessing it from the web server.

For example, If somebody is trying to open xyz.com, and since this xyz.com does not contain any file name, the web server picks a default page first from its directory. When web server gets a request for such URL that doesn’t have a file name refers the default file names like index.htm or index.html and shows the result that match closely to xyz.com. Most of the web servers contain the default file name as index.html in their directories. Using of index.html at the top level of your domain is beneficial to restrict the errors like “404 not found”.

private_html
09-03-2012, 06:58 PM
index.html or index.php if the first page somebody will see when visiting your website, your homepage, by default, in less ofcourse you change it via your control panel and set it up to something like home.html

charlesth
09-04-2012, 04:21 AM
The Web server website is built on directories and each web page has a different file. But like http://www.sample.example.com in this URL there is no file listed, but web server needs to show the file in the URL to display rather than the Error page. This is the default page and most web server named “index.html” default page is in the directory.
On Web server you have an index.html page in a directory; this will help users to view the page without typing a file name in the URL.

stevetamer
09-05-2012, 06:19 PM
This article will help you in knowing more about index.html pages.
http://webdesign.about.com/od/beginningtutorials/f/index_html.htm

Thanks for this article, good reading and good information

rosesmark
09-06-2012, 04:51 AM
Every website is built inside directories on a Web server. And each Web page is a separate file on that Web server. But sometimes, when you go to a URL, there is no file listed in the URL.

If you want more information related to this then click here (http://webdesign.about.com/od/beginningtutorials/f/index_html.htm).

markboucher12
09-10-2012, 10:16 AM
There is a file that the Web server requires to serve in order for that URL to display anything other than an error page. This file is the default page for that directory. On most Web servers, the default page in a directory is named "index.html".

simple2design
09-10-2012, 10:21 PM
this is the first page you see it may be either index.html or index.htm, or index.php or default.html

Richard Wilson
09-12-2012, 05:01 AM
index.html or index.php means it is your main page of your website.

maxjohn148
09-12-2012, 08:36 AM
I agree with bryanbell because his answer is much relevant to question... Thanks man for the nice info

steverandey
09-12-2012, 08:40 AM
Every website is built inside directories on a Web server. And each Web page is a separate file on that Web server. But sometimes, when you go to a URL, there is no file listed in the URL. For example:

http://www.brandedlogos.net/
But there is still a file that the Web server needs to serve in order for that URL to display anything other than an error page. This file is the default page for that directory. On most Web servers, the default page in a directory is named "index.html".

What this means is that when you go to a URL without a file named at the end, the server looks for a default file and displays that automatically. Just as if you had typed in that file name in the URL:

brandedlogos(dot)net/index(dot)htm There are Three Default Page Names

There are three commonly used default page names that you can use on most Web servers:

index.html
index.htm
default.htm (on some Windows servers)
It's a good idea to stick with index.html or index.htm on most servers, as default.htm is most often used on Windows servers, and isn't as common as it used to be.

You Should Have an index.html Page in All Your Directories

Whenever you have a directory on your website you should have an index.html page. This allows your readers to see a page when they come to that directory without typing a file name in the URL. It also prevents them from seeing things you might not want them to see.

If you don't put in an index.html file in a directory, most Web servers will display a file listing of all the files in that directory. While in some situations, you might want that, most of the time this is ugly at best and a security hole at worst. Writing a default Web page and naming it index.html helps solve those problems.

Biztech
09-13-2012, 05:05 AM
This is right whether you are using a free hosting service or you include your individual domain name. That method, when people come to your URL, they automatically get your main page.

ericfox
09-13-2012, 07:00 AM
According to me First thing you need is a web host. When purchasing a Web Hosting Plan what you are doing is renting space on the world wide web.Once you have your web pages created in your text editor on your computer, one of the easiest ways to get them onto the world wide web is by using the FTP in the CPanel control of your hosting account.

jamsen
09-19-2012, 09:59 PM
Index.html is your homepage.

rick26
09-22-2012, 03:54 PM
What is the html code to make horizontal boxes i need to make some boxes go from left to right but all i can find is on top of each other, you can see example here <a href="http://www.carinsurancequotesinformation.com&quot;>car insurance quotes</a> where the boxes are next to each other, and will this affect the page width on my site.
Someone told me use DIV tags but how do i put this in HTML code?.

blessy_smith
09-26-2012, 01:56 AM
Thanks for sharing the useful information...

nicksavoia
10-17-2020, 09:43 PM
Its your homepage, while designing a website, we have to start with index.html

jesica
10-19-2020, 05:26 AM
The default file name for a website's home page (INDEX.HTM is also used). Appropriately named, the home page serves as an index to the main pages on the site, each of which can link to any number of other pages and so on.

HoverboardDeal
12-29-2020, 08:18 AM
The index. html page is the most common name used for the default page shown on a website if no other page is specified when a visitor requests the site. In other words, index. html is the name used for the homepage of the website.