Nesting <a>tag for rel="nofollow"</a>
-
I just wanted to quickly run this past someone. I have some footer links I want set to nofollow:
<map <span="" class="webkit-html-tag">name</map>="Map"><area <span="" class="webkit-html-tag">shape="rect" coords="10,39,73,101" href="URL" target="_blank" alt="some text">
should this be
<map <span class="webkit-html-tag">name</map <span>="Map"><area <span class="webkit-html-tag">shape</area <span>="rect" coords="10,39,73,101 <a <span class="webkit-html-tag">href="URL" rel="nofollow" target="_blank" alt="some text"></a <span>
Want to check before I advise. If this is not the way how can I fix?
-
Hi Michael,
Sorry to say but your option is incorrect. It should be: <map name="Map"><area shape="rect" coords="10,39,73,101" href="URL" target="_blank" alt="some text" rel="nofollow"> You can't next links in a HTML element.</map>
-
but the rel attribute "nofollow" is assigned to an 'a' element?
-
That is correct, but you can also assign it also to an AREA tag like mentioned in the W3 documentation here: http://www.w3.org/wiki/HTML/Elements/area
-
that's great thanks. NoFollow in Chrome is not picking up.