: What is the SEO impact of using an anchor tag without a href attribute? For better user experience, all top level items in the primary menu are set to an empty href so that they only serve
For better user experience, all top level items in the primary menu are set to an empty href so that they only serve as labels for navigation menu sections. They cannot be clicked on and lead nowhere not even href="#". Below is an example:
Category Menu - (Parent menu item that is set to <a>Categories Menu</a>)
Category 1 - (Sub Menu Link) - <a href="http://domain.com/category/category-1/">Category 1</a>
Category 2 - (Sub Menu Link) - <a href="http://domain.com/category/category-2/">Category 2</a>
I am working on a site that has a particular structure and I just want to know if its worth changing it or if its OK to keep as is. How will this structure effect SEO in terms of passing link juice and ranking?
More posts by @Bethany197
1 Comments
Sorted by latest first Latest Oldest Best
There is an accepted usage of anchor tags without href attributes: Named anchors such as:
<a name=sectionA>Section A</a>
Search engines are fine with that, so they should be fine with your a tag with no attributes as well. They won't see it as a link and they won't try to pass link juice to it.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.