The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Nesting <a>tag for rel="nofollow"</a>

    Nesting <a>tag for rel="nofollow"</a>

    Web Design
    5 2 255
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MickEdwards
      MickEdwards last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • Martijn_Scheijbeler
        Martijn_Scheijbeler last edited by

        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>

        MickEdwards 1 Reply Last reply Reply Quote 0
        • MickEdwards
          MickEdwards @Martijn_Scheijbeler last edited by

          but the rel attribute "nofollow" is assigned to an 'a' element?

          Martijn_Scheijbeler 1 Reply Last reply Reply Quote 0
          • Martijn_Scheijbeler
            Martijn_Scheijbeler @MickEdwards last edited by

            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

            MickEdwards 1 Reply Last reply Reply Quote 1
            • MickEdwards
              MickEdwards @Martijn_Scheijbeler last edited by

              that's great thanks.  NoFollow in Chrome is not picking up.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • I am Using <noscript>in All Webpage and google not Crawl my site automatically any solution</noscript>
                sergeystefoglo
                sergeystefoglo
                1
                9
                681

              • Is The HREF Link "Title" Tag Needed on Mobile Websites?
                Stew222
                Stew222
                0
                5
                763

              • Responsive Site has "Not Found" Errors for mobile/ and m/ in Google Search Console
                JustinTaylor88
                JustinTaylor88
                1
                5
                1.5k

              • Hi, I have a doubt. If we want to hide unwanted text in a web page its possible with "" tag. And my question "does a search engine crawl those text? help me.
                TotalMarketExposure
                TotalMarketExposure
                0
                9
                334

              • Http://www.domain.com/services/city or http://www.domain.com/city
                Landforce
                Landforce
                1
                5
                163

              • Nav / Sitemap Question. Using a "services" page vs just linking directly to individual service page?
                WilliamCarr
                WilliamCarr
                0
                4
                174

              • Does it do harm if you add a rel="canonical" tag on a page that doesn't need it?
                MattAntonino
                MattAntonino
                0
                5
                294

              • Does anyone think the <figcaption>attribute from HTML5 will have any influence for image search?</figcaption>
                AlanMosley
                AlanMosley
                2
                3
                2.1k

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy