Creating the main pages of your site

In this step you will create the pages of your website. One page will be the home (or main) page that the users will see first. The others are the main topics of your website. For instance, for my site about ants, I might want topics like: Habitat, Diet, Different Types, etc. You will create one page for each topic, and one page to be your home.

In the instructions below, there's a difference between a title and a file name.

title
Displayed in the title bar of your window. Can be any phrase that describes your page. Can include capital letters, symbols, spaces, etc.
file name
Names the file you see in the Finder. Must end in .html and contain only lowercase letters (a-z), underscores (_), dashes (-), digits (0-9). Do not use spaces in your file name!

Here's an example of web pages for my site about ants.

Page and description Title File name
Home
Introduction, author information, links to other pages, other basic information
All About Ants index.html (always!)
Habitat
Where ants live, the climate they prefer...
Habitats of Ants habitat.html
Diet
Facts about the foods ants eat
Ants' Diets diet.html
Types
Pictures and descriptions of the different types of ants
Types of Ants types.html

You should create your home page first and name the file index.html, and then create your other pages. Here's what to do.

Choose the File→New→Composer Page menu command.

Save your new page. A dialog sheet will appear asking for your page title. Type the title of your page and click OK.

Note that a title can have spaces and capital letters. The title of your web page will appear at the very top of your window, in the title bar.

Now you'll get a save dialog box. Notice that the file name is the same as the title you gave your page. Change the file name so that it has no spaces or capital letters. The best filenames are short and have just one word. Remember that all files must end in the extension ".html".
Back to main page