搜索引擎可以跟随<按钮>或<输入>元素? [英] Can a search engine follow <button> or <input> elements?

查看:139
本文介绍了搜索引擎可以跟随<按钮>或<输入>元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑替换如下链接:

I am considering replacing links with such as:

<input type="button" onclick ="window.location.href('http://foo.com')" value="Click me!" />

有人建议搜索引擎不能遵循这种链接。有没有人有任何知识来证实这一点。

There was a suggestion that search engines could not follow this kind of link. Does anyone have any knowledge to confirm this.

谢谢,

推荐答案

搜索引擎优化的目的......

I would say that would be horrible for SEO purposes...


  • 一个按钮应该提交一个表单,而不是把你带到一个新的资源中。
  • 关于JavaScript的知识有限。 点击我!是可怕的链接文字,除非您想要为点击

  • A button should submit a form, not take you to a new resource.
  • Bots have limited knowledge of JavaScript.
  • Click me! is terrible link text, unless you want to rank for click and me.

这篇关于搜索引擎可以跟随&lt;按钮&gt;或&lt;输入&gt;元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆