Create a home page


In the File name box, type:

index.html

In the Save as type drop-down list, click All Files.

Click the button.

Home page file names

Whenever you're creating a Web site, give the home page the file name index.html.

index.html comes up automatically when the address of a Web site or directory is typed into a browser.

For instance, if you go to www.inpics.net, the home page appears automatically. That's because its file name is index.html.

If the file name of the In Pictures home page was homepage.html, you'd have to type www.inpics.net/homepage.html to get it to appear.

Below the tag, type:



TIP: The section contains information that doesn't show up on the page when it's viewed in a browser.

Note the closing tag. In HTML, you must give the browser instructions to end something as well as start it.

The text A Home Page About Dogs is not a tag. It is text surrounded by tags. The tags tell the browser what to do with the text: make
it the title of the page.
.Page titles

The title of a Web page describes the page. It's what appears in a browser's History list.

The title also shows up as a link when a page comes up in a search engine. If all your pages have different, descriptive titles, they'll be easier for people to find.

The page title shows up in the top, or "title," bar of the browser used to view it. The title of this page is Dogs.

Below the tag, add:

TIP: Anything you want to be visible in a browser's main window must be put between the and tags.

Below the tag, close the tag.

When you're finished, the code should look like this:

Between the and tags, type:

Dogs Home Page

Save index.html.

Web Layout HTML & CSS