I assume you have access to HTML file for the main page, and when you say, "using html" you mean that you've been editing the html directly, and not using a program like FrontPage or DreamWeaver...
The easiest way is to make a copy of the main page to use as the second page, make your changes in the second page, and then link to the second page from the first.
For example, let's say that the filename of your main page is index.html, and you want the second page to be in the same folder, and be called, page2.html.
Copy index.html (in Windows Explorer, My Computer, or wherever you access files on your computer). Paste the file in the same folder, and call it page2.html.
Open page2.html in a text editor. Make any changes to the body of page2 that you need, in order to make it your second page. Save your changes.
Open index.html in the text editor, and add the following line of code wherever you want the link (the following example creates a link to page2.html, in the current folder, with the link text, "Go to the second page."):
Go to the second page.
This will create the link (note that you'll still have to manually add any line breaks or paragraph breaks that you want).
Save the changes, preview the changes in your browser, and upload the two files to the web host, and you're done.
Note that if you want page2 to be located in a different folder, you can do that (although I'd recommend not putting it in a folder that's higher up than the index, because that might involve headaches with your hosting service).
To add a link to a page using the full address, you just modify the code as follows:
Go to the second page.
Hope that helps! :)
2007-03-25 06:07:35
·
answer #1
·
answered by Katie M 2
·
0⤊
0⤋