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
-
Using / at the end of anchor text link
Hello I am building backlinks to home page my question is should I use "/" without qoute after my domain name or not example for both cases is below keyword here / at the end of http://abc.com is not place or keyword here / at the end of http://abc.com/ is place. waiting
Technical SEO | | tanveerayakhan0 -
Page Juice not moving???
Moved URL's from ldnwicklesscandles.com to ldnwicklesscandles.co.uk because I wanted to rank better for UK where I'm located and thought also the .co.uk for my competitors may have been giving them the advantage. Use Squarespace 7 (transferred over from SS5)----they told me to set primary domain to .co.uk and I've done it. I've also done a 301 redirect and done a change of address in webmaster tools although I'm not sure if all of this is needed? Squarespace seem to think just setting the primary domain is enough. My question is its been a couple of weeks, I've resubmited to Google webmaster to try to speed things up, the new URL is appearing in Google but none of my Page Juice seems to be transferring yet? How long will it take? I know not all the juice will move over but my PA/DA is non existent now and I have no idea if I'm just being impatient or I've done something wrong here. Not a Pro, Just a small biz owner here so forgive me if this has been asked before.
Technical SEO | | ldnwickless0 -
Disallow: /404/ - Best Practice?
Hello Moz Community, My developer has added this to my robots.txt file: Disallow: /404/ Is this considered good practice in the world of SEO? Would you do it with your clients? I feel he has great development knowledge but isn't too well versed in SEO. Thank you in advanced, Nico.
Technical SEO | | niconico1011 -
What i should do about bad links ?
Hi, my blog is http://www.dota2club.com/ and i have many bad links to my blog what i should do about that and how ? i started 10 days ago guest blogging but my bad links from before are hurting my blog. please help 🙂 thank you !!!
Technical SEO | | wolfinjo0 -
Image Link
If I have an image that is well optimiswed for a keyword that the page it is on is ranking for but i put a no follow in the image link - is this going to lose the value of the image on that page. A strange question i know but this image i have on my homepage is optimised around a keyword, the image is also a link but when i changed the link in the image to no follow i seem to have dropped rankings for that keyword. Probably consicidence but i thought i would throw this question out there and get some views?
Technical SEO | | pauledwards0 -
If two links from one page link to another, how can I get the second link's anchor text to count?
I am working on an e-commerce site and on the category pages each of the product listings link to the product page twice. The first is an image link and then the second is the product name. I want to get the anchor text of the second link to count. If I no-follow the image link will that help at all? If not is there a way to do this?
Technical SEO | | JordanJudson0 -
Do Link wheel works?
Hello, I am new to link wheel over web 2.0 sites and then linking your website or website article really helps in SEO and link building. Do you think its still works? Since i have also heard that many says that its too ok if we do spin content submitted to our web 2.0 properties small sites which are created for linking back to our main website. Will wait for reply...
Technical SEO | | anand20101 -
Canonical Tag
Does it do anything to place the Canonical tag on the unique page itself? I thought this was only to be used on the offending pages that are the copies. Thanks
Technical SEO | | poolguy0