Empty <a>tag (no href or name attribute specificed) potential effect on link juice</a>
-
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!
-
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.
-
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!?
-
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>
-
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>
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Can I set a canonical tag to an anchor link?
I have a client who is moving to a one page website design. So, content from the inner pages is being condensed in to sections on the 'home' page. There will be a navigation that anchor links to each relevant section. I am wondering if I should leave the old pages and use rel=canonical to point them to their relevant sections on the new 'home' page rather than 301 them. Thoughts?
Technical SEO | | Vizergy0 -
Does a country specific TLD implicitly influence the full country name for keyword matching?
[Hypothetical situation - domain, country and industry changed] Let's say I have registered http://mybrandname.hk (i.e. Hong Kong) and my goal is to reach people in all global locations searching for Hong Kong hotels. The target audience will almost always put "Hong Kong" into their query, e.g. they might search for "Marriott Hotel Hong Kong". Does the .hk TLD implicitly give me a match for "Hong Kong" or would I structure my URLs such that all hotel info pages fall under a top level subdirectory "hong-kong". i.e. is it enough to have a structure like: http://mybrandname.hk/hotel/marriott Or should I have it like: http://mybrandname.hk/hong-kong/hotel/marriott ? It is safe to assume that other on- and off-page best practices will be followed, e.g. links from other Hong Kong sites, some backlinks anchor text including "hong kong", etc. Of course Marriott is just one example, there would be hundreds of hotels in this example.
Technical SEO | | WellsxiFkrI20 -
What is the best practice to seperate different locations and languages in an URL? At the moment the URL is www.abc.com/ch/de. Is there a better way to structure the URL from an SEO perspective?
I am looking for a solution for using a new URL structure without using www.abc.com**/ch/de** in the URL to deliver the right languages in specific countries where more than one language are spoken commonly. I am looking forward to your ideas!
Technical SEO | | eviom0 -
Reciprocal links and nofollow tag
What happens if I link to a site using the nofollow tag and they are linking back to me with a dofollow link? Will it give me as much power and link juice as if it was a one way link (to me) or will Google discount the link because it's reciprocal?
Technical SEO | | Livet0 -
Linking without loosing link equity.
Hi, I was wondering if anyone had a solution to linking without loosing link equity? From what I have read using 'no follow' on both internal and external links DOES NOT pass any equity across the link to the link target, but also, the latest thought goes that it DOES loose link equity (as if it were a FOLLOW' link). So is there a method of retaining link equity using another method? Thanks
Technical SEO | | James770 -
Double Slash // in URL
My client is using double forward slahes in URL like this "//" is this affecting SEO?
Technical SEO | | yanaiguana1110 -
I cannot find a way to implement to the 2 Link method as shown in this post: http://searchengineland.com/the-definitive-guide-to-google-authorship-markup-123218
Did Google stop offering the 2 link method of verification for Authorship? See this post below: http://searchengineland.com/the-definitive-guide-to-google-authorship-markup-123218 And see this: http://www.seomoz.org/blog/using-passive-link-building-to-build-links-with-no-budget In both articles the authors talk about how to set up Authorship snippets for posts on blogs where they have no bio page and no email verification just by linking directly from the content to their Google+ profile and then by linking the from the the Google+ profile page (in the Contributor to section) to the blog home page. But this does not work no matter how many ways I trie it. Did Google stop offering this method?
Technical SEO | | jeff.interactive0 -
Base href
Does it matter for SEO if one uses a base href meta tag or if it is defined using java script?
Technical SEO | | cindyt-170380