本文介绍了无序列表< ul>在SEO,可访问性等方面的导航效果如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就SEO和可访问性而言,< ul> 是构建简单导航菜单的好方法吗?

作为参考点,我尝试通过Lynx测试我的所有网站,以帮助确保可访问性,并且< ul> 似乎是最重要的足以在Lynx中显示,但是这真的可以作为SEO的一个很好的经验法则吗? 解决方案

大多数CSS导航菜单都被构建为无序列表 - 即使水平导航栏通常只是无序列表,其中的项目符号被删除和格式化有点不同。请参阅:



因此,如果为此使用它们会对SEO产生不利影响,我会感到非常惊讶。


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?

解决方案

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.

这篇关于无序列表&lt; ul&gt;在SEO,可访问性等方面的导航效果如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 11:20