I am using DevExpress to create my site's main navigation menu, which is important to me to have Google crawl them but DevExpress Menu Control's output is not pure anchor element but rather an with a inside it.

Now is it SEO safe to use this menu? Here is the output code:

<li id="ASPxNavBar1_I0i0_" class="dxnb-item" onclick="ASPx.NBIClick(event, 'ASPxNavBar1', 0, 0)" style="text-align:Right;">

<a id="ASPxNavBar1_I0i0_T" class="dxnb-link" href="view.aspx?id=001"><span class="dx-vam">Some Link</span>

The span element doesn't have any semantic meaning, it is used to hook text within inline elements.

Using a span won't effect you from an SEO stand point.

  • 1
    Yes you can, elements such as <strong> <em> etc has an impact but not <span> – GrapeSoda Aug 5 '16 at 7:58
  • Invest some time in learning about the semantic of html. You'll worry less about seo. – Abu Nooh Aug 5 '16 at 8:02
  • im kind of freshman to seo world. thanks i'll keep it in mind. – Ali.Rashidi Aug 5 '16 at 15:50
  • @GrapeSoda one more thing! I trust you on this, should we not?!! – Ali.Rashidi Aug 5 '16 at 15:52
  • Should you not what? – GrapeSoda Aug 5 '16 at 22:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.