A little html help

Bleep

Diamond Member
Oct 9, 1999
3,972
0
0
I want to link my main page to what I am calling page2 I put this in my html for the main page <a href="#another"></a>page2|</A>
and all it does is put page2 at the bottom of the page would someone straighten me out on this??
Bleep

 

Bleep

Diamond Member
Oct 9, 1999
3,972
0
0
Tried that, I now have </A><a href="#another">|page2|
Still dont work, maybe I dont have page2 in the right place. i just have it in the same folder as the main page
Bleep
 

minendo

Elite Member
Aug 31, 2001
35,560
22
81


<< </A><a href="#another">|page2| >>


Should be: <a href="#another">|page2|</A>
 

Bleep

Diamond Member
Oct 9, 1999
3,972
0
0
Thanks for sticking with me on this, <a href="#another">|page2|</A> that dont work either. here is the target that properties show


file:///C:/WINDOWS/Desktop/PRSC%20site/~temp00.html#another

Bleep
 

minendo

Elite Member
Aug 31, 2001
35,560
22
81


<< Thanks for sticking with me on this, <a href="#another">|page2|</A> that dont work either. here is the target that properties show


file:///C:/WINDOWS/Desktop/PRSC%20site/~temp00.html#another

Bleep
>>


What is the name of the page you are actually trying to open?
 

stndn

Golden Member
Mar 10, 2001
1,886
0
0
use this: <A HREF="page2.html">page 2</A>
that should link page 2 to open a new page for you (page2.html)

what you are doing is putting a link to the same page (forgot the "term")
basically, what this means:
<A HREF="#myTarget">jump to another place</A>
means that you are looking for this tag:
<A NAME="myTarget">
in your index.html page

with the # sign, the link inside <A HREF> becomes "internal link", which means that the link will take you to where "myTarget" is specified in that page. if you don't have an anchor with name "myTarget", it will just jump to somewhere on the page and you got the URL as "index.html#myTarget"

i have left out some details, but that should get you moving ... if you need more info, drop me a pm or sth

good luck :)

-979-