Mobile app version of vmapp.org
Login or Join
Kristi941

: 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,

@Kristi941

Posted in: #Html #Hyperlink #Seo

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>

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Kristi941

2 Comments

Sorted by latest first Latest Oldest Best

 

@Tiffany637

Yes the hyperlink can be crawled by Google search if you add a itemprop="URL"

10% popularity Vote Up Vote Down


 

@Si4351233

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme