A Stupid Newbie Question about HTML

They have: 8 posts

Joined: Nov 2005

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. Confused

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's picture

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:

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's picture

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

They have: 8 posts

Joined: Nov 2005

Thanks Teammatt3. That seemed to work.

Vance

They have: 60 posts

Joined: Feb 2006

Another way would have been to use the 'hotspot' tool.

Renegade's picture

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's picture

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 Wink.

Megan's picture

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??? Confused Or did I just not explain it right?

teammatt3's picture

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's picture

They have: 453 posts

Joined: Feb 2003

teammatt3 wrote: 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...

Yeah i was about to say that Shocked

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I'm still confused. Why is #target wrong? but #anchorname is right?

is no different from

Confused

demonhale's picture

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's picture

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 Laughing out loud

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.