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
-
Product Tags
Opencart allows the use of product tags (please note, these are NOT meta tags) which I believe are used for when customers want to search for a product using the search function. So one of my tags could be ''star wars socks'', and when a customer types this into the search it brings up every product containing the tag for socks. This is all good and well, however, these tags appear on the product page itself, right below the Manufacturer/Brand, and above the price (they created pages but I have canonical links in them so that is a non-issue). Will Google look kindly on this or could it be considered as keyword stuffing? Or will Google know they're for search and ignore them? I just need to know whether or not removing them entirely will be a good or bad idea.
Technical SEO | | moon-boots0 -
Is SEO effected of putting an external link in the primary navigation of a website?
I have a customer, www.xxx.com. This site has good traffic, low bounce rate (28%), 2:00 min avg time on site, and 45% return visitor rating. No spam rankings, etc. Good load time. Another site, www.yyy.com, has sent out a request for them to add them as a new link in www.xxx.com's primary navigation - using a title such as "abc" (not the name of the company or site of yyy.com). This second site, www.yyy.com, has a bounce rate of 98%, avg time on site is :30, and 10.2% return visitor rate. No spam flags noted in Open Site explorer. Plus they are asking other sites similar to www.xxx.com to do the same thing. Questions/Concerns and Feedback appreciated: Will yyy.com's analytics and quality pass back to xxx.com and cause Google or algorithms to flag or penalize xxx.com? (It ranks #1 for quite a few things.) The relevancy between the sites is good -same industry, same business objectives. From a usability standpoint, isn't it more appropriate to place a link to another website in a different way? e.g. a promotional graphic wit a link or anchor text links? Isn't it more appropriate to ask another business for links - not using the primary nav of a site? (It seems yyy.com is essentially asking other sites for 'free advertising/promotion.' Thanks!
Technical SEO | | mundsack0 -
301 Redirect / cross-domain canonical to a URL w/ Ampersand
I have a question regarding ampersands, we are needing to redirect to a URL w/ an ampersand in the URL: http://local.sfgate.com/b18915250/Sam-&-Associates-Insurance-Agency Will Google pass page authority/juice despite the fact that there is an ampersand in the URL, if we were to 301 redirect or cross-domain canonical to the url? Should we 301 redirect to http://local.sfgate.com/b18915250/Sam-%26-Associates-Insurance-Agency instead of http://local.sfgate.com/b18915250/Sam-&-Associates-Insurance-Agency? I don't have the option of removing the ampersand Thank you for your time!
Technical SEO | | Gatelist0 -
To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
Hello, If your website is getting flagged for duplicate content from your main domain www.domain.com and your multilingual english domain www.domain.com/en/ is it wise to 301 redirect the english multilingual website to the main site? Please advise. We've recently installed the joomish component to one of our joomla websites in an effort to streamline a spanish translation of the website. The translation was a success and the new spanish webpages were indexed but unfortunately one of the web developers enabled the english part of the component and some english webpages were also indexed under the multilingual english domain www.domain.com/en/ and that flagged us for duplicate content. I added a 301 redirect to redirect all visitors from the www.domain/en/ webpages to the main www.domain.com/ webpages. But is that the proper way of handling this problem? Please advise.
Technical SEO | | Chris-CA0 -
Tagging Assets
As I am finding ways to integrate keyword diversity into my key landing pages, I want to start adding META information to content such as images and videos. 1. Any blog posts on best practices you can send me to? 2. Can I add META information to iFrames? Or do i have to rely on the tags added within Vimeo & You Tube? Thank you again
Technical SEO | | GladdySEO0 -
Correct Redirect method for switching pages from .html to /pretty urls/
I have a customer that has all his site files as .html extensions and i'm going to rebuild this site into a wordpress site for easier management, regarding the new permalink structure, should i just do a 301 redirect on this?
Technical SEO | | tgr0ss0 -
Tags and Duplicate Content
Just wondering - for a lot of our sites we use tags as a way of re-grouping articles / news / blogs so all of the info on say 'government grants' can be found on one page. These /tag pages often come up with duplicate content errors, is it a big issue, how can we minimnise that?
Technical SEO | | salemtas0 -
Canonical tags
Hi there, I have just noticed that SEOmoz picked up some duplicates links that I would like to resolve but not sure how. For example, the "Finding work in the arts" article has two links: http://www.creative-choices.co.uk/develop-your-career/article/finding-work-in-the-arts http://www.creative-choices.co.uk/develop-your-career/article/finding-work-in-the-arts?utm_source=Website&utm_medium=Website&utm_content=Finding+work+in+the+arts&utm_campaign=Footer+Links Both links can be found on this page http://www.creative-choices.co.uk/industry-news-views/article/what-employers-are-looking-for (see attachment). Would automatically generated canonical tags by the CMS solve this issue? rmxiP
Technical SEO | | CreativeChoices0