Quantcast

HTML code to link to a particular location in a classified ad?

erikkellison

Monkey
Jan 28, 2004
918
0
Denver, CO
So I knew it was possible to click on a link that took you to a different location on the same page. A quick search taught me that I use the following code:
<a href="#NAME">description</a>
then to place the following tag at the location that you want the aforementioned click to take you to:
<a name="NAME"></a>
However, all permutations of this, and I can't get it to work. I have a long classified ad consisting of many tires, and I'd like people to be able to click on their tire of choice in the beginning of the ad, and that to take them to the photos of their desired tire, lower down in the ad. There's otherwise a lot of photos to scroll through...
So I tried using straight HTML.
No dice.
I tried the whole area involved in the HTML code in
HTML:
like so
HTML:
<a href="#NAME">description</a>
and
HTML:
<a name="NAME"></a>
No dice.
I tried using "[" and "]" instead of "<" and ">"
No dice.
I even tried wrapping each individual tag in
HTML:
like so:
HTML:
<a href="#NAME">
description
HTML:
</a>
, also replacing all the "<" and ">" with "[" and "]"
No dice.

So what is the way to do this? I'm kinda confused, and I'd like to be able to make my ad (and future classified ads) easier to navigate. Thanks!