: Is text in a link crawable I have a product box that is encapsulated in a hyperlink so that the entire box is clickable. Within this box I have text about the product (e.g. product name,
I have a product box that is encapsulated in a hyperlink so that the entire box is clickable. Within this box I have text about the product (e.g. product name, price, etc). However, as the text is within the link box, it is not selectable by hand. Do crawlers see this text when they view the site, or should it be outside of the main link? I'm looking to optimize the SEO.
Previously we had a separate hyperlink for the image and the product name, but in order to reduce the number of links on the page we encapsulated everything in a single link. An example of the new form is below:
<a href="http://www.example.com/prod/1 target="_blank">
<div id="prod1">
<img src="http://www.example.com/images/prod/1" alt="Prod1"/>
<h1>The product title<h1>
<h2>.00</h2>
</div>
</a>
More posts by @Kristi941
2 Comments
Sorted by latest first Latest Oldest Best
Yes the hyperlink can be crawled by Google search if you add a itemprop="URL"
The crawler will still see the content encapsulated within the link and index it appropriately as it is valid markup and is standards compliant. As a side note there is no difference between indexing a div with text encapsulated within a link and a simple word or a short number of words encapsulated within a div as the search engine crawlers treat this all the same.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.