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
-
Dealing with broken internal links/404s. What's best practice?
I've just started working on a website that has generated lots (100s) of broken internal links. Essentially specific pages have been removed over time and nobody has been keeping an eye on what internal links might have been affected. Most of these are internal links that are embedded in content which hasn't been updated following the page's deletion. What's my best way to approach fixing these broken links? My plan is currently to redirect where appropriate (from a specific service page that doesn't exist to the overall service category maybe?) but there are lots of pages that don't have a similar or equivalent page. I presume I'll need to go through the content removing the links or replacing them where possible. My example is a specific staff member who no longer works there and is linked to from a category page, should i be redirecting from the old staff member and updating the anchor text, or just straight up replacing the whole thing to link to the right person? In most cases, these pages don't rank and I can't think of many that have any external websites linking to them. I'm over thinking all of this? Please help! 🙂
Technical SEO | | Adam_SEO_Learning0 -
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 -
How are these links being displayed?
How does one markup their site to get the small sitelinks to appear in SERP listings as seen in the example image below? jJiQYy3
Technical SEO | | SelectHub0 -
Hreflang Tags - error: 'en' - no return tags
Hello, We have recently implemented Hreflang tags to improve the findability of our content in each specific language. However, Webmaster tool is giving us this error... Does anyone know what it means and how to solve it? Here I attach a screenshot: http://screencast.com/t/a4AsqLNtF6J Thanks for your help!
Technical SEO | | Kilgray0 -
Outbound Links
I have a page on upstrap-pro.com that provides weights of cameras and lenses. The user/buyer of my on-slip camera straps needs to know the weight his camera and lens to determine the proper pad size... large to small. We have put together a long list of the most popular customer cameras. The way it was done (by my daughter) was to also provide a via a link to dpreview.com which is an excellent site for camera information including specifications etc. My personal feeling about this is mixed. I can do it by having it open dpreview.com in a new tab but then the user/customer could still get distracted and go down the rabbit hole. On the other hand dpreview is such a good site that if they are new to photography and don't know about it, they should. I don't get a dime from dpreview. If fact I doubt they would ever link back to me because they do not write about camera straps. I hear mixed things about outbound links. In this file there are quite a few outbound links to dpreview to keep it consistent. I could do a nofollow on all of them but I read that this is the easy way out. Google is jump ball and I have no clue what Cutts and his merry men are going to decide is cool or not cool. I'd like some thoughts or options... Thanks... A small part of the file below. Canon EF 14mm f/2.8L II USM Wideangle prime lens Canon EF 22.8 oz 645 g Canon EF 14mm f/2.8L USM
Technical SEO | | Asteg0 -
Affiliate links
I have a wordpress blog and was wondering the best seo practice for doing affiliate link redirects? Peter
Technical SEO | | PeterM220 -
What should I do about links coming in that are from link farm type sites?
I just noticed two back links to a couple of sites around pharmaceuticals/attorneys. The one link is to a chinese site with url: http://e.lifestyle.com.cn/fashionweekly/nzj/353093_2.shtml, and the other is to a site called Adroo: http://adroo.com/us/?view=list&list_id=104154&lang=en. Both appear to be some type of link farm sites, one has come in as a nofollow (surprise, you can buy "ads" on their site, both have decent DA. There is no reason for them to link to theses sites, should I find a way to stop the link? Also, on one of the sites we had a dmoz link and it is not showing in OSE? Link is still open in dmoz though. Thanks for any input.
Technical SEO | | RobertFisher0 -
Internal Linking
Where is the best information on internal linking. I'm so confused and everything I read says something different. Ahhhh Thanks
Technical SEO | | meardna770