PDA

View Full Version : Making a link and I'm doing something wrong



ikkyu
05-11-2007, 01:33 PM
Hi everyone,

I've made a link from my homepage to another page that I named "index2.htm."

This is what I have typed in for the link.

<a href="public_html/index2.htm">index2</a>

I know the "index2.htm" file is in the public_html folder. Please help me find what I'm doing wrong.

Thank you in advance for any help.

Chella
05-11-2007, 01:45 PM
If all of your pages reside in the same folder, the only URL you will need in the HTML for your link is the following:



<a href="index2.htm">index2</a>


Please let us know if this doesn't work.

ikkyu
05-11-2007, 01:55 PM
Thank you very much for your reply.
I tried:

<a href="index2.htm">index2</a>

and it didn't work. Then I changed the file "index2.htm" to "index2.html"
I also change it in the link in your code and it worked.

Thank you