How effective are unordered lists
    s as navigat

2019-07-02 10:12发布

问题:

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.