A Stupid Newbie Question about HTML
Okay, I am trying to learn HTML and I would like to know how I can link an image on one page and have to go to another area/section of a completely new page.
I have tried hunting down some tutorials on the web, but they are just not making sense to me.
Any help greatly appreciated.
Thanks
Megan posted this at 21:35 — 3rd March 2006.
She has: 11,421 posts
Joined: Jun 1999
So you want the link to go partway down the page, is that right?
First, in the page you're targetting, put in a marker where you want the link to go to. The code for that is like this:
Then, from the image you want to link, you will do something like this:
Megan
Connect with us on Facebook!
Vance posted this at 22:01 — 3rd March 2006.
They have: 8 posts
Joined: Nov 2005
Actually Megan, what I am trying to do is be able to link an image from page A to a section/area on page B that has an image and text.
I understand how to jump from one part of a page to another part on the same page, now I am trying to figure out how to jump from one page to another.
Hopefully this explains it better.
Vance
teammatt3 posted this at 22:40 — 3rd March 2006.
He has: 2,102 posts
Joined: Sep 2003
I think this is what you want
This will take you to thispage.html where the anchor named anchorname is
Take out #anchorname if you don't have an anchor on thispage.html
Vance posted this at 23:45 — 3rd March 2006.
They have: 8 posts
Joined: Nov 2005
Thanks Teammatt3. That seemed to work.
Vance
Magnolia posted this at 08:23 — 4th March 2006.
They have: 60 posts
Joined: Feb 2006
Another way would have been to use the 'hotspot' tool.
Renegade posted this at 22:10 — 4th March 2006.
He has: 3,022 posts
Joined: Oct 2002
Isn't the IMG tag a self closing tag? So, wouldn't it be:
<img src="image.gif" />
teammatt3 posted this at 22:15 — 4th March 2006.
He has: 2,102 posts
Joined: Sep 2003
I just like to make up tags here and there to make things a little more interesting .
Megan posted this at 22:17 — 4th March 2006.
She has: 11,421 posts
Joined: Jun 1999
Okay, I'm sick and my head is really fuzzy right now, but how is what Matt showed different from what I had??? Or did I just not explain it right?
Megan
Connect with us on Facebook!
teammatt3 posted this at 22:21 — 4th March 2006.
He has: 2,102 posts
Joined: Sep 2003
Didn't you change your post? I remember seeing the code but without the #target in it. Maybe it's my head that is really fuzzy...
DaveyBoy posted this at 22:52 — 4th March 2006.
They have: 453 posts
Joined: Feb 2003
Yeah i was about to say that
Megan posted this at 23:12 — 4th March 2006.
She has: 11,421 posts
Joined: Jun 1999
I'm still confused. Why is #target wrong? but #anchorname is right?
is no different from
demonhale posted this at 01:32 — 5th March 2006.
He has: 3,278 posts
Joined: May 2005
I guess you two have fuzzy heads LOL! .... target names could be anyname, they are just there to be uniquely labeled for sections you want to jump into "just to clarify"...
Anyways the problem is solved, so lets talk about fiziness this time...
Busy posted this at 10:05 — 5th March 2006.
He has: 6,151 posts
Joined: May 2001
fuzzy wuzzy was a bear,
fuzzy wuzzy had no hair,
so fuzzy wuzzy wasn't really fuzzy wuz he
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.