SEO 友好的基于的下拉菜单
对于使用 HTML 标准
看起来普遍的共识是这不是 SEO 友好的方法。
你们知道一个好的 jQuery 插件可以将常规
组合“转换”为一个下拉菜单,其行为就像 <代码><选择>?
/
<ul>
<li><a href="/destination-a">Link A</a></li>
<li><a href="/destination-b">Link B</a></li>
</ul>
There have been some good discussions whether using the HTML standard <select>
tag to generate menu / links is SEO friendly.
Looks like the general consensus is it's not an SEO-friendly method.
Do you guys know a good jQuery plug-in that "transforms" a regular <ul>
/<li>
combination into a drop down menu that behaves just like <select>
?
<ul>
<li><a href="/destination-a">Link A</a></li>
<li><a href="/destination-b">Link B</a></li>
</ul>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MenuMatic Menu 需要一个
ur
类型的对象,但它是 Motools 的,但你可以使用 jQuerynoConflict
函数将其与 JQuery 集成。MenuMatic Menu is expecting an object of type
ur
, but it is of Motools, but you can integrate it with JQuery using jQuerynoConflict
function.li 菜单的问题在于,虽然它们是获得具有出色效果的功能菜单的最简单方法,但您无法轻松在菜单项的背景图像中添加 alt 标签。
您需要构建一个透明的 gif 并覆盖 css 提供的基本图像,然后该图像可以在图像标签中获取传统的 alt 属性。这对搜索引擎优化很友好。谷歌这样工作真是太可惜了,因为我从不容忍为此而编码,它想象整个万维网上所有额外的代码都是白费的。
在我看来,谷歌应该能够比这个更好地找出什么是好页面。
The problem with li menus is that while they are the easiest way to get a functioning menu that can have great effects you can't easily have an alt tag n the background image for the menu item.
You will need to build a transparent gif and overlay the base image that css provides, this image can then get a traditional alt attribute in the image tag. That would be seo friendly. Its a shame google works like this as I never condone coding for the sake of this, its imagining all the extra code across the www for nothing.
Google should be able to work out what is a good page much better than this IMO.