Forum Moderators: open
I am not sure what this forum policy is about posting websites so I will substitute our site name.
The current link:
<div id="servicesb"><a href="services.html" title="services"></a></div>
Now the link on the page is a picture not text, is this what he is talking about by not being anchored, because it is obviously linked?
Thanks in advance,
J
You can use our Site Search on [Google Image Search] [google.com] to find the discussions.
You can place an image in an anchor, and the code you need looks something like this:
<a href="services.html" title="services"><img src="imagename.jpg" alt="services image" width=11 height=22></a>
...and the alt attribute should have a text string that describes the image. It's not as powerful for search as using true anchor text would be, but it does have some value for the search engines.
While Google is experimenting with OCR, if you want to see an image related to a certain keyword, you should begin with surrounding text for the image, and also using an alt attribute in the <img> element.
Would this give a positive effect? I ask because it's an approach I've considered, but not knowing if it would be negative, I've gone with tedster's suggestion:
.anchor_class span { display:none; }
<a class="anchor_class" href="somelink.html"><span>Some Relevant Text</span></a>
You can still style anchor_class to block, width, height, as desired but it's textual content is hidden. My concern is whether the SE's will kill the page for "hidden text."