How effective are unordered lists <ul>s as navigation in terms of SEO, accessibility, etc?

限于喜欢 提交于 2019-12-23 19:49:20

问题


As far as SEO and accessibility are concerned, are <ul>s a good approach towards building simple navigation menus?

As point of reference, I try to test all of my sites through Lynx, just to help ensure accessibility, and <ul>s seem to be the most sufficient in terms of their display in Lynx, but can this really be used as a good rule-of-thumb for SEO?


回答1:


Most CSS navigation menus are built as unordered lists -- even horizontal nav bars are generally just unordered lists with the bullets removed and formatted a bit differently. See: http://www.alistapart.com/articles/horizdropdowns/

Consequently, I'd be very surprised if using them for this purpose had an adverse effect on SEO.



来源:https://stackoverflow.com/questions/4846862/how-effective-are-unordered-lists-uls-as-navigation-in-terms-of-seo-accessibi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!