Sunday, August 2, 2009

I need to create 5 pages for my web development class...so far I have one. How do I create more than 1 page?

Open your one page in Notepad or your web-editor and then save it as "page2.html".





Then save it again as "page3.html", "page4.html", "page5.html" - and now you have 5 seperate pages.





You can then edit each of these seperately, as 5 seperate pages.





Now you need to link them together:





You can either create the links in your web-editor or you will need to add the following code to each page (somewhere suitable):





%26lt;a href="name of first page.html" target="_self"%26gt;Home%26lt;/a%26gt;


%26lt;a href="page2.html" target="_self"%26gt;Page 2%26lt;/a%26gt;


%26lt;a href="page3.html" target="_self"%26gt;Page 3%26lt;/a%26gt;


%26lt;a href="page4.html" target="_self"%26gt;Page 4%26lt;/a%26gt;


%26lt;a href="page5.html" target="_self"%26gt;Page 5%26lt;/a%26gt;





This will be your menu / navigation system for your 5-page site and will allow a user to visit all the pages.





Note: You will have to change the first link to ask for the name of your first page (whatever you have already called it).

I need to create 5 pages for my web development class...so far I have one. How do I create more than 1 page?
First answer is correct if you need more detailed info try this link is verry easy to follow the virtual lessons the have laid out





http://www.w3schools.com/html/default.as...

playing cards

No comments:

Post a Comment