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
              • Needs clarification: How "Disallow: /" works?
                Christy-Correll
                Christy-Correll
                0
                5
                84

              • Is it still necessary to have a "home" page button/link in the top nav?
                FindLaw
                FindLaw
                0
                3
                570

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

              • rel="canonical" Tags Mistake
                jesse-landry
                jesse-landry
                0
                5
                222

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

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

              • Should I nofollow my blog "read more" links?
                danatanseo
                danatanseo
                0
                7
                1.7k

              • Does Google follow links inside a <noscript>tag?</noscript>
                Carson-Ward
                Carson-Ward
                0
                5
                3.0k

              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