javascript - make nofollow behavior for a div link -


according html5 specs, rel="nofollow direction allowed in <a> , <area> elements. looking solution, affect ranking various search engines, putting external link in div-element. example below influence ranking of link's target?

<div onclick="window.open('external link' ,'_blank')" > ... </div> 

no, because it's not link. it's javascript code, opens new window given url.

a searchengine looking <a href="...">link text</a> , not div javascript window opener.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -