Mobile app version of vmapp.org
Login or Join
Bethany197

: 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

@Bethany197

Posted in: #Links #Seo

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bethany197

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme