Class

Projects

  • Free MP3s on Last.fm

Sponsors

Generating and Linking to Multiple Pages

Printer-friendly versionPrinter-friendly versionSend to friendSend to friend

Generating and Linking to Multiple Pages

So far we've been able to setup our layout and create a page, but what if we need more than one page? All of these links on our page can't just link to nothing right?

This is pretty simple, but first we want to use our index.html file as a template for the rest of our pages so make sure that page is complete. You want your stylesheet connected and all of your navigation links going to the correct spot. So if you have a link for "Contact Us" you can make that link go to "contact.html" (even though it doesn't exist yet, we will create it in a second.) Once all your links are written and your page is complete, you are ready to use this page as a template for the other pages.

Save your index.html if you need to, then for each page you need, go to File>Save As and save as many pages as you need. So thinking again at our contact link, we need a contact page. So one of the files you would save as is contact.html.

After creating all of your files, you should be able to open one of the pages in a web browser and click back and fourth between each page. Simply open any of these new files in Dreamweaver to modify the content for just that page.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.