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. Technical SEO Issues
    4. Empty <a>tag (no href or name attribute specificed) potential effect on link juice</a>

    Empty <a>tag (no href or name attribute specificed) potential effect on link juice</a>

    Technical SEO Issues
    7 4 8.0k
    • 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.
    • Dameian
      Dameian last edited by

      I have a client that insists on using the ProPhoto WordPress theme. This theme has an interesting habit of putting empty anchor tags in the site nav in order to nest css dropdowns. By empty I mean totally empty. For example:

      <a>Navigation Link</a>

      Since the anchor does not specify a destiation, do you think it would have any effect on link juice one way or the other? This wouldn't count as an additional link on the page would it?

      My inclination and personal practice is not to risk quirky things like this, but I'd like a second opinion before I suggest changes to the client's site.

      Thanks!

      1 Reply Last reply Reply Quote 2
      • StalkerB
        StalkerB last edited by

        I've been having a think about this one and while I'm not sure, I'm going to say I don't think it wouldn't have an effect on link juice passing. As in if there were 4 links and an empty anchor the juice would be divided by 4 and not 5.

        Current W3 anchor use - http://www.w3.org/TR/html401/struct/links.html#h-12.1.3 - allows for various parameters in the <a>tag, however I'm willing to bet (not a huge sum of money though) that the href itself triggers the link part of a link (and am I right saying even js links need href="#" or similar to trigger?).</a>

        <a>Plus I think older versions of HTML allowed things other than links within anchors (though I may be making that up) so if the engines have grown around those older versions it makes sense they look for something other than the 'a' in the tag to work.

        I can't think of a good way to test though, maybe somebody can clarify my thinking or tell me if I'm wrong.

        I agree with you though that it's not wise to put quirky elements like this on a page, especially if there's a lot of dropdowns. How do the navigation links work if there's no href?</a>

        Dameian 1 Reply Last reply Reply Quote 3
        • Dameian
          Dameian @StalkerB last edited by

          Thanks for the feedback Barry. it is much appreciated. I tend to agree that the href would be a far more probable trigger for determining what is actually a link than the <a>itself.</a>

          <a>I just want to make sure I give the best possible advice to my client, but I am starting to lean toward this being something of a non-issue the more I think about it.</a>

          <a>To answer your question regarding how the nav works: In this case the :hover css pseudo-class on the empty</a> <a>tag causes the nested sub-menu with actual links to become visible. The empty</a> <a>is nothing but a trigger for the sub-menu.</a>

          <a>Cheers!

          Dameian</a>

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

            This post is deleted!
            Dameian 1 Reply Last reply Reply Quote -4
            • Dameian
              Dameian @Guest last edited by

              I know! I searched far and wide and found no discussion on this at all which was both surprising and frustrating. The lack of information is what led me to post the question because surely someone has encountered this at somepoint, right!?

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

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • katemorris
                  katemorris last edited by

                  I've been thinking about this one too. And my inital reaction is that it doesn't count. Another thread at Google backs me up, http://www.google.com/support/forum/p/Webmasters/thread?tid=7778313784ba6db5&hl=en

                  I'd go with that it doesn't, not unless the href is present.

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  • URL Structure On Site - Currently it's domain/product-name NOT domain/category/product name is this bad?
                    RuthBurrReedy
                    RuthBurrReedy
                    0
                    4
                    196

                  • Redirect /label/ to /tags/
                    Taiger
                    Taiger
                    0
                    3
                    143

                  • Maximum <title>length - use full or shorten?</title>
                    JDatSB
                    JDatSB
                    0
                    7
                    342

                  • Block /tag/ or not?
                    MyAllenMedia
                    MyAllenMedia
                    0
                    7
                    571

                  • OVER OPTIMIZED? <title>Google Engage Basic Training Google Engage for Agencies</title>
                    PeterM22
                    PeterM22
                    0
                    3
                    383

                  • Do I need to add canonical link tags to pages that I promote & track w/ UTM tags?
                    kchandler
                    kchandler
                    1
                    5
                    2.8k

                  • Having both <title>and <meta name="title"...> on a web page?</title>
                    KaneJamison
                    KaneJamison
                    0
                    2
                    590

                  • I have a site that has both http:// and https:// versions indexed, e.g. https://www.homepage.com/ and http://www.homepage.com/. How do I de-index the https// versions without losing the link juice that is going to the https://homepage.com/ pages?
                    fthead9
                    fthead9
                    0
                    3
                    729

                  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